[llvm-commits] [PATCH] x86_64 detection and building on 10.6
Mike Stump
mrs at apple.com
Mon Aug 31 11:32:15 PDT 2009
On Aug 30, 2009, at 12:31 PM, Evan Phoenix wrote:
> 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.
Not quite right:
$ gcc -arch ppc64 -E -dM -x c /dev/null -o - | grep LP64
#define __LP64__ 1
#define _LP64 1
If you check uname -m and if it says i386, then this is safe to do. I
support the general idea however.
More information about the llvm-commits
mailing list