[LLVMdev] llvm-gcc build of inferno/plan 9 'mk' fails
eli.friedman at gmail.com
Thu Jul 30 23:26:05 PDT 2009
On Thu, Jul 30, 2009 at 11:03 PM, james
northrup<northrup.james at gmail.com> wrote:
> CC="p llvm-gcc-4.2 `llvm-config --cflags` -march=i386 --emit-llvm -O0
> -c -I$PLAT/include -I$ROOT/include -I$ROOT/utils/ include"
> LD="p llvm-ld `llvm-config --ldflags --libs all `"
> AR="p llvm-ar crvs"
Using llvm-ar+llvm-ld is likely to give you bad results. On Mac,
AFAIK, the native ar and ld should do the right thing with bitcode
files, assuming you have relatively recent versions; I don't know the
details, though, since I don't have a Mac.
More information about the llvm-dev