[cfe-dev] [LLVMdev] Odd PPC inline asm constraint
rdivacky at freebsd.org
Wed May 2 08:36:52 PDT 2012
On Tue, May 01, 2012 at 05:47:15PM -0500, Hal Finkel wrote:
> On Tue, 01 May 2012 17:23:07 -0500
> Peter Bergner <bergner at vnet.ibm.com> wrote:
> > On Tue, 2012-05-01 at 16:06 -0500, Hal Finkel wrote:
> > > LLVM/clang now will build in the normal way (./configure; make
> > > install) on PPC (you'll need at least the 3.1 release candidate (or
> > > trunk)). I generally build on my PPC64 hosts with:
> > > make ENABLE_OPTIMIZED=1 OPTIMIZE_OPTION=-O2
> > > EXTRA_OPTIONS=-mminimal-toc
> > Ok, it built fine, but what is the llvm equivalent of gcc's -m32 -m64?
> > Google doesn't seem to be much help, nor is the clang --help output.
> Noted, we should fix that as well. By default it should build for
fwiw, on FreeBSD -m32 works just fine with clang. Take a look at
r132634/r132635. You can get some inspiration for the linux toolchain.
More information about the cfe-dev