Subject: Cross-compiling just about anything
To: None <port-cobalt@NetBSD.org>
From: Christopher Schultz <christopher.d.schultz@comcast.net>
List: port-cobalt
Date: 10/21/2004 11:28:22
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig63AD1208E487A62837B7DD6C
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

All,
I apologize for the steady stream of posts these past few days. I really 
appreciate all the answers I'm getting.

I haven't had any problems building gcc as a cross-compiler for the Qube 
2 (from an IA32 machine) and I was able to build several kernels using it.

I haven't tried it, yet, but I was wondering how difficult it is to use 
that cross-compiler to build just about anything. Clearly, the kernel is 
sett configured to allow cross-compiling. Can anyone offer any 
suggestions for compiling other packages using that cross-compiler?

For example, I'd like to cross-compile Apache 2 for my Qube. I assume 
that all the system header files are available to the cross-compiler, 
but do I need to trump the standard include paths so I don't get any 
IA32 stuff in there during the configure or compile?

Any help would be very much appreciated.

Thanks,
-chris

--------------enig63AD1208E487A62837B7DD6C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBd9WW9CaO5/Lv0PARAkBkAJ45n3o/jM4F2JgTZk5aaEIVzuQy8QCghq7I
wM5J5U0TBwBoLVfI4SPTcdU=
=0ZZr
-----END PGP SIGNATURE-----

--------------enig63AD1208E487A62837B7DD6C--