Cross compile build problems
Ian Lance Taylor
ian@wasabisystems.com
Tue Sep 28 16:57:00 GMT 2004
Brian Rose <lists@brianrose.net> writes:
> $ ../../src/gcc-3.4.2/configure --target=m68k-elf --prefix=$HOME/coldfire/bins
> $ make all
>
> It seems to get to the libc part and it then dies with this error message...
>
> configure: error: No support for this host/target configuration.
>
> Looking up in the output I see the following messages...
>
> checking host system type... m68k-unknown-elf
> checking build system type... i686-pc-cygwin
>
>
> Is this correct? Shouldn't the host be i686-pc-cygwin? I'm trying to
> develop a compiler that runs on my Windows box (with cygwin) and
> builds binaries for a Motorola coldfire embedded microcontroller with
> no operating system.
The above is correct when building code to run on the target, such as
libstdc++-v3. Code which runs on cygwin, such as gcc, has a host
(and, in this case, build) of cygwin and a target of m68k-elf. Code
which runs on the m68k-elf target, such as libstdc++-v3, has a host of
m68k-elf and a build of cygwin (and no target, since libstdc++-v3 is
not itself a cross-compilation tool).
Ian
More information about the Gcc-help
mailing list