[LLVMdev] Linux-x86 Compatibility

Chris Lattner sabre at nondot.org
Fri Sep 13 16:47:00 PDT 2002


> 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.  :)

-Chris

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




More information about the llvm-dev mailing list