delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/12/20:00:38

From: Andrew Cottrell <andnews AT ihug DOT com DOT oz DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Building a gcc 3.2.2 cross compiler..
Date: Sun, 13 Apr 2003 09:53:54 +1000
Organization: ECLiPSE
Lines: 46
Message-ID: <c49h9vkde5sl3s37vn200d043urrpj8rcp@4ax.com>
References: <3e979062 AT news DOT starhub DOT net DOT sg>
NNTP-Posting-Host: p95-tnt8.syd.ihug.com.au
Mime-Version: 1.0
X-Trace: lust.ihug.co.nz 1050191638 23407 203.173.147.95 (12 Apr 2003 23:53:58 GMT)
X-Complaints-To: abuse AT ihug DOT co DOT nz
NNTP-Posting-Date: Sat, 12 Apr 2003 23:53:58 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>I'm trying to build a gcc 3.2.2 linux to dos crosscompiler (using 2.04
>alpha, but that's not really relevant here). I'm using gcc322s2.zip. The
>unpack_gcc script doesn't seem to work for me due to autoconf trouble. The
>major part of gcc requires autoconf 2.13. This is upgraded to 2.5 for gcc
>HEAD, but didn't get into 3.2.2. The libstdc++-v3 needs 2.52 however, and
>autoconf will abort if 2.13 is used.
I used Autoconf 2.57 for building GCC 3.2.2 that you downloaded. I
also used automake 1.7.3. 


>The usual tip on the gcc mailing list is not to attempt recreating the
>configures, but that doesn't work here since the configure.ins are patched
>by gcc322s2.zip. Some questions:
>
>- Why are all the patches in gcc322s2.zip required? I thought all
>modifications required for djgpp were merged into gcc mainline ages ago..?
Andris would have to answer this one, but bugs are found by Andris and
others in the DJGPP porting after the official GCC release is done and
as such a patch needs to be done.
>- How could this script have worked for others, if 2 autoconf versions are
>required. Am I missing something (again)?
I suspect that the docs have not been updated. A guess only. Try using
autoconf 2.57 and automake 1.7.3. 

>Main reason for compiling the thing myself is that I want to install it in a
>different place.
>
>Even when using autoconf 2.13 there's a problem: (unpack output)
SNIP...

Check which versions of automake, autoconf, m4 you are using. On WIN
XP I use the following to do the build that you downloaded:-
	automake 1.7.3 (from 22-Feb-2003)
	autoconf 2.57 (just updated to srcv from 27-Mar-2003)
	M4 1.4 (latest DJGPP version from 8-Jan-2003)

These dates may be when I downlaoded them, so take of a few days/week
to get an idea of the date of the files on Simtel)

BTW Did you searh the DJGPP mailing list archive as there was allot of
discussion in this newsgroup last year about getting DJGPP cross
compiling on Linux and the developer who did it wrote up a doc and has
it available for download. 

Andrew

- Raw text -


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