[llvm-commits] [PATCH][GNU Build] Add LLVM_IS_TARGET_BIG_ENDIAN to config.h

Dale Johannesen dalej at apple.com
Thu Oct 21 16:01:05 PDT 2010


I may have missed earlier discussion, but why do you want this at compile time?  Normally llvm is built to support multiple targets (not necessarily all of the same endianness) and endianness is checked at runtime; see TargetData.

On Oct 21, 2010, at 3:51 PMPDT, Michael Spencer wrote:

> This is my first time ever touching GNU Build, but I think this does
> what I want. Can someone verify it, fix it if wrong, and regenerate
> configure?
> 
> Thanks,
> 
> - Michael Spencer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-is-target-big-endian.patch
Type: application/octet-stream
Size: 1181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101021/69ab2208/attachment.obj>
-------------- next part --------------
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list