Linux-x86 Compatibility

ISSUE: DSOs in Linux are created by "g++ -shared" instead of "g++ -G".

ACTION: Compile with "g++ -shared" instead of "g++ -G", i.e., use the alternate definition of "MakeSO" in Makefile.common.

PATCH: Apply from llvm top-level directory with "patch -p0".

patch (444 Bytes)

ISSUE: DSOs in Linux are created by "g++ -shared" instead of "g++ -G".
ACTION: Compile with "g++ -shared" instead of "g++ -G", i.e., use the
alternate definition of "MakeSO" in Makefile.common.

I can't really apply this, because it would break building on solaris. I
conditionalized it based on uname, as follows:

http://mail.cs.uiuc.edu/pipermail/llvm-commits/2002-September/000171.html

This certainly isn't the best or most robust way to do this, but until we
get autoconf/automake support, there isn't a really good way. If it
works, it works. :slight_smile:

-Chris

http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/