From: Andris Pavenis To: djgpp AT delorie DOT com, Andrew Cottrell Subject: Re: Building a gcc 3.2.2 cross compiler.. Date: Mon, 14 Apr 2003 15:38:54 +0300 User-Agent: KMail/1.5.1 References: <3e979062 AT news DOT starhub DOT net DOT sg> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304141538.54128.pavenis@latnet.lv> Reply-To: djgpp AT delorie DOT com On Sunday 13 April 2003 02:53, Andrew Cottrell wrote: > >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. My old scripts for patching GCC sources didn't check a return code of patch, autoconf, automake etc. At least autoconf-2.57 and automake-1.7.X failed for me. Currently I have put in a tests for return code, so script simply quits on error. I myself used autoconf-2.13 and automake-1.5. If system has installed autconf-2.57 and automake 1.7.X (like I have under Linux), then I can install old versions under different prefix and put corresponding directory at the start of path. Andris