This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Contributing to cross-compiling
- From: "Manuel López-Ibáñez" <lopezibanez at gmail dot com>
- To: "Ben Elliston" <bje at au1 dot ibm dot com>
- Cc: "Rodrigo Dominguez" <roddomi at hotmail dot com>, "Ian Lance Taylor" <iant at google dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 31 Jan 2008 02:25:10 +0100
- Subject: Re: Contributing to cross-compiling
- References: <BAY129-DAV15ADD4FEB7A6597A3527DAB9370@phx.gbl> <1201741728.6563.2.camel@localhost>
On 31/01/2008, Ben Elliston <bje@au1.ibm.com> wrote:
> Once you get into GCC in enough detail, you'll come to appreciate that
> cross-compiling is not particularly special. It's just the compiler
> running on a different system type to the code being generated. There
> is certainly a bit of intricacy in building GCC for such an environment,
> but conceptually, it's very straightforward.
Nonetheless, if someone decided to go through the hassle of collecting
tutorials and hints for various cross-compiling configurations in the
wiki, I think many users will appreciate it. It is still considered by
many to be a "dark art"[*].
I personally remember trying to build a win32 dll in linux-gnu and
giving up after following 2 or 3 different methods out there.
Cheers,
Manuel.
[*] http://gcc.gnu.org/ml/gcc-help/2008-01/msg00290.html