[cfe-dev] Build on Mac OS X

Chris Lattner clattner at apple.com
Sun May 29 10:09:54 PDT 2011


On May 29, 2011, at 9:07 AM, Csaba Raduly wrote:

> Hi all,
> I'm trying to build LLVM+clang on a Mac Mini G4 with OS X 10.4.11:
> Darwin user-users-mac-mini.local 8.11.0 Darwin Kernel Version 8.11.0:
> Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power
> Macintosh powerpc
> 
> with
> GCC 4.5.2 from Mac Ports:
...
> 
> What could be the problem?


Hi Csaba,

I don't exactly know what's going on here, but you're very likely to run into several problems with this configuration:

1. Clang doesn't have real powerpc support.
2. Tiger support is atrophying in LLVM, because no one is using it.
3. Using an FSF GCC on Darwin is asking for trouble.

To get past this error, you could try hacking out the export list, but I wouldn't be surprised if you hit other issues later.

-Chris



More information about the cfe-dev mailing list