delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/19/17:50:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Stephano Mariani" <sk DOT ml AT btinternet DOT com>
To: <gcc AT gcc DOT gnu DOT org>, <cygwin AT cygwin DOT com>
Subject: Build cross gcc
Date: Wed, 19 Dec 2001 22:49:29 -0000
Message-ID: <000001c188df$6af3ed60$c300a8c0@sknet01>
MIME-Version: 1.0
X-Priority: 1 (Highest)
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook, Build 10.0.2616
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: High

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019