Closed PHHargrove closed 10 years ago
On an x86-64 host I can pass -DLLVM_BUILD_32_BITS=TRUE to CMake and almost everything gets build as 32-bit objects, including libupc. The only exceptions are the upc-crt objects:
-DLLVM_BUILD_32_BITS=TRUE
$ find lib bin -type f | xargs file | grep Mach-O | grep -v i386 lib/upc-crtbegin.o: Mach-O 64-bit object x86_64 lib/upc-crtbeginS.o: Mach-O 64-bit object x86_64 lib/upc-crtbeginT.o: Mach-O 64-bit object x86_64 lib/upc-crtend.o: Mach-O 64-bit object x86_64 lib/upc-crtendS.o: Mach-O 64-bit object x86_64 lib/upc-crtendT.o: Mach-O 64-bit object x86_64
I am going to see if I can learn enough CMake to fix this tonight.
Fixed in 146870b
On an x86-64 host I can pass
-DLLVM_BUILD_32_BITS=TRUE
to CMake and almost everything gets build as 32-bit objects, including libupc. The only exceptions are the upc-crt objects:I am going to see if I can learn enough CMake to fix this tonight.