[LLVMdev] target arm
ashaltiel at nds.com
Mon Dec 17 09:14:31 PST 2012
I'm trying to use clang to compile a file in an x86 machine (running i386 GNU/Linux) to ARM. In the end, all I want is for the bit code (I use -emit-llvm) getArch() result to be Triple::ARM.
I tried to use "-target arm" but I get a "fatal error: 'bits/predefs.h' file not found".
Is there any easy way to make the target architecture "ARM" without running into such trouble?
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.
An NDS Group Limited company. www.nds.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev