Bill Allombert on Wed, 25 Apr 2007 14:54:55 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Mac OS Cross-compiling

On Tue, Apr 24, 2007 at 05:26:00PM -0400, Ryan Govostes wrote:
> I use a PPC Mac but I've needed to build libpari for i386-based Macs,  
> too.  Unfortunately, it required a bit of tweaking to get this to  
> work. I think the configure script needs to be updated so that these  
> changes aren't necessary.
> I haven't tested the reverse process (building for PPC on an i386 Mac).
> -----
> config/arch-osname always returns the current computer's architecture  
> and OS type, even if the user specifies a different host via the -- 
> host option on the configuration script.

This is true, but why is that an issue ? If you use --host, Configure
will not use config/arch-osname anyway.

> -----
> ./Configure --host=i386-darwin

Yes, this is the correct think to do.