delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/07/11/14:50:57

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <4877AB4B.5040608@iki.fi>
Date: Fri, 11 Jul 2008 21:49:47 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: sysroot vs. /usr/include vs. /include?
References: <200807110405 DOT m6B451vV027439 AT delorie DOT com> <COL101-W55D82DCD06860954FF8BD9E6900 AT phx DOT gbl>
In-Reply-To: <COL101-W55D82DCD06860954FF8BD9E6900@phx.gbl>
Reply-To: djgpp AT delorie DOT com

Jay kirjoitti:
> I understand this small problem.
> Am curious for consensus on what to do about it.
>
> toplevel gcc configure:
>
>
>   $ /src/gcc431/configure  
>     -disable-bootstrap  
>     -disable-nls  
>     -enable-languages=c,c++  
>     -disable-werror  
>     -target i586-pc-msdosdjgpp  
>     -without-libiconv-prefix  
>     -with-sysroot           <<<<   
>
>
>  resulting libgcc configure which fails, not actually interesting: 
>
>   
With changes from my version of gcc431s2.zip and current CVS version of
DJGPP v2.04, GCC-4.3.1
should builds as Cygwin to DJGPP cross-compiler without big problems
(Languages: C, Ada, C++,
Fortran, Objective C and Objective C++). No need for --with-sysroot at all.

GCC Configure options
--target=i586-pc-msdosdjgpp --prefix=/usr/local --disable-nls
--disable-werror
--enable-languages=c,c++,fortran,objc,obj-c++,ada"

I at first bootstrapped GCC-4.3.1 (C and Ada only) as native compiler
for Cygwin and used it for building cross-compiler.

Tried to run testsuite. Seems to be mostly running OK except of on of
fixincludes which requires autogen.
It is however very far from being complete and I perhaps will not want
to wait several days for it to finish.
I also have doubts about whether I can believe results of testsuite as:
    /cygdrive/c/djgpp/bin/false.exe && echo Failed
shows failed. Similary the return code in Cygwin seems to be 0 even in
case of SIGABRT from DJGPP
executable.

Andris



- Raw text -


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