This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Build cross gcc
- From: "Stephano Mariani" <sk dot ml at btinternet dot com>
- To: <gcc at gcc dot gnu dot org>,<cygwin at cygwin dot com>
- Date: Wed, 19 Dec 2001 22:49:29 -0000
- Subject: Build cross gcc
Hi!
I hope I'm not OT, but if I am plz tell me where to post this problem...
I cannot seem to build a cross gcc-3.0.2 (release) on cygwin host for
dos target. Unfortunately I have to use dos/win currently and need to
get gcc to cross compile. I have build a cross binutils (2.11.2) without
any problems configured and installed with:
./configure --target=i386-msdos --enable-shared --with-gnu-ld
--with-gnu-as --host=i686-pc-cygwin --program-prefix=dos-
I have verified that invoking dos-ld or dos-as, calls these newly
installed binutils files (they are in /usr/local/bin).
But when I try to configure gcc:
./configure --verbose --enable-threads=win32 --with-system-zlib
--disable-nls --disable-shared --enable-static --with-gnu-as
--with-gnu-ld --program-prefix=dos- --enable-languages=c
--disable-libgcj --disable-checking --target=i386-msdos
--host=i686-pc-cygwin --with-ld=dos-ld --with-as=dos-as
I get:
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava
target-libstdc++-v3 target-libf2c zlib fastjar target-libobjc
(Any other directories should still work fine.)
Created "Makefile" in /cygdrive/x/gcc-3.0.2 using "mh-frag"
Configuring libiberty...
loading cache ../config.cache
checking host system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
< A LOT MORE AUTOCONF MESSAGES HERE >
checking whether getopt is declared... no
checking whether getrlimit is declared... yes
checking whether setrlimit is declared... yes
checking whether getrusage is declared... yes
checking if mkdir takes one argument... no
Configuration i386-pc-msdos not supported
Configure in /cygdrive/x/gcc-3.0.2/gcc failed, exiting.
Plz help.
I have only extracted gcc-3.0.2.tar.bz2 and gcc-core-3.0.2.tar.bz2
TIA,
Stephano Mariani
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/