On Mar 9, 2011, at 2:26 AM, Thijs Alkemade wrote:

> 
> I'm trying to remember what I did exactly.
> 
> It was configuring for PPC, and it gave warnings about using the wrong one. 
> Something along the lines of "If you are cross compiling, did you mean 
> --build instead of --host?" Without seeing if it would not work without or 
> thinking about it, I changed it, and it finished successfully.

As noted in the docs (and in that commit message):

"There are three system names that the build knows about: the machine you are 
building on (build), the machine that you are building for (host), and the 
machine that GCC will produce code for (target). When you configure GCC, you 
specify these with --build=, --host=, and --target=."


> After committing I realised I had changed that and didn't really know what it 
> meant, so I read that same GCC documentation and decided it was wrong, and 
> that I should change it back. But after I changed it, it wouldn't compile 
> anymore (I don't know what the error was anymore, though).

Have you installed Xcode 4?  PPC compilation is no longer supported... and if 
it's the most recent Xcode you've installed, it will have removed the necessary 
applications.

Also, Rosetta may need to be installed for glib's PPC compilation to complete 
successfully; I messed with that for about 15 minutes before giving up and 
installing Rosetta.  It'll need to be fixed to compile in 10.7 since Rosetta 
isn't supported there at all... however, it may or may not be an issue on trunk.

-Evan

Reply via email to