[LLVMdev] including the host triple in "include/llvm/Config/config.h"
Eric Christopher
echristo at apple.com
Fri Nov 30 16:21:15 PST 2007
On Nov 30, 2007, at 3:23 PM, Ted Kremenek wrote:
> I was wondering if would be possible to get the host's triple captured
> as a string in include/llvm/Config/config.h. Autoconf currently
> generates this file, and capturing the host triple would be extremely
> useful for use in the new C frontend.
>
> I am not an autoconf expert. Does anyone have any pointers on how
> this could be added to the LLVM configuration scripts? Thanks.
Here you go, it will output something like:
#define LLVM_HOSTTRIPLE "i686-apple-darwin9.1.0"
Anyone care if this is checked in or not?
-eric
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.ac.diff.txt
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071130/996c2f27/attachment.txt>
-------------- next part --------------
More information about the llvm-dev
mailing list