[llvm-commits] [PATCH] x86_64 detection and building on 10.6

Evan Phoenix evan at fallingsnow.net
Sun Aug 30 12:31:25 PDT 2009

Currently, it's not possible to build LLVM and link it against  
something compiled by default on 10.6, since LLVM forces itself to  
build 32bit only, and 10.6 defaults to compile 64bit by default.

You can force one or the other to build a certain bitness, but this is  
a strange hurdle that developers hit and must overcome (the way to  
force LLVM to a certain bitness is undocumented, for instance)

The attached patch fixes config.guess to report x86_64-apple-darwin*  
when gcc builds 64 bit by default. This fixes LLVM to build 64bit by  
default, and everything builds and links out of the box, saving  
developers much debugging time.

  - Evan Phoenix

-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-x86_64-sl.diff
Type: application/octet-stream
Size: 673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090830/4294318e/attachment.obj>

More information about the llvm-commits mailing list