Jakob Praher
2006-Dec-21 20:05 UTC
[LLVMdev] llvm-gcc frontend 4 on intel darwin produces intel assembler
hi all, i surely overlooked something. but i am currently trying to do some benchmarking stuff with llvm. in my thesis i was using llvm-1.5 (i did some extension work, which i would have to frontport now). But unfortunately 1.5 is for some benchmarks unstable (at least on my box) such that llc sigsegvs sometimes, etc. So I wanted to give 1.9 a go and build that on the my intel mac book. I did not bother to compile the llvm-gcc frontend myself so I donwloaded the precompiled tar ball. But unfortunatly doing a LLVMGCC/bin/gcc -S assembler, the generated assembyl is not in llvm representatino but in ia32?! also the target says: Target: i686-apple-darwin8 but the right? cc1 is taken: $HOME/Applications/llvm-gcc4-1.9-x86-darwin8/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/cc1 -quiet -v -iprefix .... any pointers? is is stupid since gcc 3.4 is not precompiled on mactel - is it compilable? thanks in advance?
Jakob Praher
2006-Dec-21 20:20 UTC
[LLVMdev] llvm-gcc frontend 4 on intel darwin produces intel assembler
so i was right :-) thanks --Jakob Tanya M. Lattner wrote:> You need to use -emit-llvm > > http://llvm.org/docs/GettingStarted.html#tutorial4 > > -Tanya > > On Thu, 21 Dec 2006, Jakob Praher wrote: > >> hi all, >> >> i surely overlooked something. >> but i am currently trying to do some benchmarking stuff with llvm. >> in my thesis i was using llvm-1.5 (i did some extension work, which i >> would have to frontport now). >> >> But unfortunately 1.5 is for some benchmarks unstable (at least on my >> box) such that llc sigsegvs sometimes, etc. >> >> So I wanted to give 1.9 a go and build that on the my intel mac book. >> I did not bother to compile the llvm-gcc frontend myself so I donwloaded >> the precompiled tar ball. >> >> But unfortunatly doing a LLVMGCC/bin/gcc -S assembler, the generated >> assembyl is not in llvm representatino but in ia32?! >> >> also the target says: >> Target: i686-apple-darwin8 >> >> but the right? cc1 is taken: >> $HOME/Applications/llvm-gcc4-1.9-x86-darwin8/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/cc1 >> -quiet -v -iprefix .... >> >> any pointers? >> is is stupid since gcc 3.4 is not precompiled on mactel - is it compilable? >> >> thanks in advance? >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >>t
Tanya M. Lattner
2006-Dec-21 20:30 UTC
[LLVMdev] llvm-gcc frontend 4 on intel darwin produces intel assembler
You need to use -emit-llvm http://llvm.org/docs/GettingStarted.html#tutorial4 -Tanya On Thu, 21 Dec 2006, Jakob Praher wrote:> hi all, > > i surely overlooked something. > but i am currently trying to do some benchmarking stuff with llvm. > in my thesis i was using llvm-1.5 (i did some extension work, which i > would have to frontport now). > > But unfortunately 1.5 is for some benchmarks unstable (at least on my > box) such that llc sigsegvs sometimes, etc. > > So I wanted to give 1.9 a go and build that on the my intel mac book. > I did not bother to compile the llvm-gcc frontend myself so I donwloaded > the precompiled tar ball. > > But unfortunatly doing a LLVMGCC/bin/gcc -S assembler, the generated > assembyl is not in llvm representatino but in ia32?! > > also the target says: > Target: i686-apple-darwin8 > > but the right? cc1 is taken: > $HOME/Applications/llvm-gcc4-1.9-x86-darwin8/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/cc1 > -quiet -v -iprefix .... > > any pointers? > is is stupid since gcc 3.4 is not precompiled on mactel - is it compilable? > > thanks in advance? > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Maybe Matching Threads
- [LLVMdev] llvm-gcc frontend 4 on intel darwin produces intel assembler
- [LLVMdev] trouble compiling llvm-gcc4 1.9
- [LLVMdev] llvm/clang test failures on powerpc-darwin8
- [LLVMdev] Building current llvm-gcc-4.0 TOT fails on darwin x86
- [LLVMdev] Building current llvm-gcc-4.0 TOT fails on darwin x86