On Wed, 27 Feb 2008, Evan Cheng wrote:> Before:
> /Users/echeng/LLVM/llvm/Release/bin/llvm-ld -L/Developer/usr/llvm-
> gcc-4.2/lib/gcc/i686-apple-darwin9.2.0/4.2.1 -L/Developer/usr/llvm-
> gcc-4.2/lib Output/444.namd.linked.bc -lc -lstdc++ -lm -o Output/
> 444.namd.llvm
> llvm-ld: warning: Cannot find library 'stdc++'
>
> Now:
> /Users/echeng/LLVM/llvm/Release/bin/llvm-ld -L/Developer/usr/llvm-
> gcc-4.2/lib/gcc/i686-apple-darwin9.2.0/4.2.1 -L/Developer/usr/llvm-
> gcc-4.2/lib Output/444.namd.linked.bc -lc -lstdc++ -lm -o Output/
> 444.namd.llvm
> llvm-ld: error: Cannot find library 'stdc++'
> make[1]: [Output/444.namd.llvm.bc] Error 1 (ignored)'
>
> This is breaking 444.namd for me. Is this intended?
This is lauro's patch:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080225/058888.html
Can we make the makefiles not pass -lstdc++ to llvm-ld?
-Chris
--
http://nondot.org/sabre/
http://llvm.org/