Re: Cross compile build problems

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

 



Brian Rose <lists@xxxxxxxxxxxxx> 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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux