X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Andris Pavenis To: djgpp AT delorie DOT com Subject: Re: DJGPP linux cross-compiler + GDB problem Date: Fri, 18 Jun 2004 12:49:21 +0300 User-Agent: KMail/1.6.2 References: <9003-Thu17Jun2004205638+0300-eliz AT gnu DOT org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Message-Id: <200406181249.21532.pavenis@latnet.lv> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i5I9lKZG016418 Reply-To: djgpp AT delorie DOT com On Friday 18 June 2004 09:45, AndreA Eli Zaretskii wrote: > >> From: Andrew Cottrell > >> Newsgroups: > >> comp.os.msdos.djgpp Date: Thu, 17 Jun 2004 20:15:47 +1000 > >> > >> I cannot remmeber seeing this sort of problem before. > > Hi Eli and all, > thank you for quick replies. > It seems my problem might be due to my fault patching gcc sources before > building the cross-compiler. > > Following Andrews´s suggestion I´d like to align gcc versions on linux and > Win so, since gcc3.4 support is still experimental, I´ll go for 3.3.4 on > both. > > I´m now building the cross-tools in linux, following the howto.32 by > Charles Wilkins that comes with djgpp distro and with the listed > components: > > - gcc-3.3.4.tar.gz > - binutils-2.15.tar.gz > - djcrx203.zip > - gcc334s2.zip > > Unpack-gcc.sh returns the following into logfile: > > Running autoconf in > > /home/gizero/projects/src/tools/djgpp/gnu/gcc-3.34/libf2c .. > > > . > > configure.in:38: error: defn: undefined macro: _AC_PROG_CC_GNU > > aclocal.m4:150: GLIBCPP_CONFIGURE is expanded from... > > configure.in:38: the top level > > autom4te: /usr/bin/m4 failed with exit status: 1 > > autoconf failed in directory > > /home/gizero/projects/src/tools/djgpp/gnu/gcc-3.34/ > > > libf2c gcc334s2.zip require autoconf-2.13 and automake-1.5 (perhaps also automake-1.4 should work). Newer versions will not. I suggest installing it at the different prefix and add bin directory at the begin of the path. Andris