[LLVMdev] Getting started question.
Alireza.Moshtaghi at microchip.com
Alireza.Moshtaghi at microchip.com
Mon Jun 11 14:08:08 PDT 2007
Hi,
I downloaded and installed the front-end (llvm-gcc 4), and downloaded,
configured, and built llvm-2.0 using -prefix=[myllvmPath] and
-with-llvmgccdir=[llvm-gccPath]
When I try to use sparc as target, llvm-gcc does not recognize it. I
used -march=sparc and it gives two errors:
"bad value (sparc) for -march= switch"
"bad value (sparc) for -mtune= switch"
I used -bsparc as argument to llvm-gcc and it gives the following error:
Llvm-gcc : couldn't run
/blah/blah/llvm-gcc4.2.0-x86-linux-RHEL4/bin/sparc-gcc-4.0.1: No such
file or directory
What am I missing?
I am doing this on Redhat Linux 2.4.21-37
Thanks
Ali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070611/31e6786c/attachment.html>
More information about the llvm-dev
mailing list