This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
cross compiler MinGW->PowerPC
- From: "Lippold, Roland" <Roland dot Lippold at MuellerBBM dot de>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 30 Aug 2007 20:33:05 +0200
- Subject: cross compiler MinGW->PowerPC
Hi
I try to create a MinGW-Win32 hosted cross compiler for a PowerPC platform
running nto-qnx.
My host system is an Intel Pentium running Windows XP. To use all the GNU
gcc tools I installed MinGW MSYS version 1.0.10 and MinGW version 5.1.3.
My sources for the wished cross compiler are:
- gcc-core release 3.4.5
- gcc-g++ release 3.4.5
- gcc-testsuite release 3.4.5
- binutils release 2.17.50
- newlib release 1.9.0
Building the binutils was successful, I used the following commands:
configure --target=powerpc-unknown-nto-qnx\
--disable-nls --disable-shared --enable-debug\
--disable-threads --with-gcc --with-gnu-as\
--with-gnu-ld --with-stabs --disable-multilib
make all
make install
As the next step I tried to build the C-compiler with the commands:
configure --enable-languages=c,c++ \
--with-cpu=PowerPC --disable-multilib\
--with-gcc --with-gnu-ld --with-gnu-as --with-stabs \
--disable-shared --disable-threads --disable-win32-registry
--disable-nls\
--target=powerpc-unknown-nto-qnx --with-newlib -v
make all-gcc
make install-gcc
The configure script worked fine (build=i686-pc-mingw32,
host=i686-pc-mingw32, target=powerpc-unknown-nto-qnx).
Unfortunately "make all-gcc" failed with the message "*** Configuration
powerpc-unknown-nto-qnx not supported".
I am wondering about that, because config.sub returned
"powerpc-unknown-nto-qnx" as a correct configuration name.
Is there any other supported configuration available which corresponds to a
PowerPC platform (MPC5200) running QNX?
Thank you very much for any help.
With kind regards
Roland Lippold
Mueller-BBM GmbH
Robert-Koch-Straße 11
82152 Planegg
Telefon +49(89)85602-259
Telefax +49(89)85602-111
http://www.MuellerBBM.de