[llvm-commits] [llvm] r67469 - /llvm/trunk/Makefile.rules

Arnold Schwaighofer arnold.schwaighofer at gmail.com
Fri Mar 27 00:49:00 PDT 2009


The output on x86:

llvm[3]: Linking Debug Loadable Module LLVMHello.dylib
g++ -I/Users/arnold/Desktop/LLVM/build/include
-I/Users/arnold/Desktop/LLVM/build/lib/Transforms/Hello
-I/Users/arnold/Desktop/LLVM/llvm/include
-I/Users/arnold/Desktop/LLVM/llvm/lib/Transforms/Hello  -D_DEBUG
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -g
-fno-exceptions -fno-common  -Woverloaded-virtual  -m32  -pedantic
-Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
 -g  -module -L/Users/arnold/Desktop/LLVM/build/Debug/lib
-L/Users/arnold/Desktop/LLVM/build/Debug/lib  -Wl,-flat_namespace
-Wl,-undefined -Wl,suppress -Wl,-dylib -mmacosx-version-min=10.4 -o
/Users/arnold/Desktop/LLVM/build/Debug/lib/LLVMHello.dylib
/Users/arnold/Desktop/LLVM/build/lib/Transforms/Hello/Debug/Hello.o \

/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../crt1.o
LC_LOAD_DYLINKER load command in object file (should not be in an
input file to the link editor for the output file type MH_DYLIB)

gcc -v outputs:

Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic
--program-prefix= --host=i686-apple-darwin8
--target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5363)



More information about the llvm-commits mailing list