X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "AndreA @teamware.it Subject: Re: DJGPP linux cross-compiler + GDB problem Newsgroups: comp.os.msdos.djgpp References: <9003-Thu17Jun2004205638+0300-eliz AT gnu DOT org> <200406181249 DOT 21532 DOT pavenis AT latnet DOT lv> Lines: 59 Organization: TW User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit Message-ID: Date: Mon, 21 Jun 2004 06:30:17 GMT NNTP-Posting-Host: 80.183.241.188 X-Complaints-To: newsmaster AT tin DOT it X-Trace: news4.tin.it 1087799417 80.183.241.188 (Mon, 21 Jun 2004 08:30:17 MET DST) NNTP-Posting-Date: Mon, 21 Jun 2004 08:30:17 MET DST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andris Pavenis wrote: > 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. I compiled and installed autoconf-2.13 and automake-1.5. Now unpack-gcc.sh goes fine (no fails in log file). Binutils (2.15) appear to build ok. PATH correctly points to them. Compiling gcc-3.3.4 complains on getpwd.o with this message: > /home/gizero/projects/src/tools/djgpp/cross/gnu/gcc-3.34-obj/gcc/xgcc -B/home/gi > zero/projects/src/tools/djgpp/cross/gnu/gcc-3.34-obj/gcc/ -B/usr/local//i586-pc- > msdosdjgpp/bin/ -B/usr/local//i586-pc-msdosdjgpp/lib/ -isystem /usr/local//i586- > pc-msdosdjgpp/include -c -DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../gcc-3.34/libi > berty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-3.34/libiberty/g > etpwd.c -o getpwd.o > ../../../gcc-3.34/libiberty/getpwd.c: In function `getpwd': > ../../../gcc-3.34/libiberty/getpwd.c:86: error: `PATH_MAX' undeclared (first use > in this function) > ../../../gcc-3.34/libiberty/getpwd.c:86: error: (Each undeclared identifier is r > eported only once > ../../../gcc-3.34/libiberty/getpwd.c:86: error: for each function it appears in. > ) > make[1]: *** [getpwd.o] Error 1 > make[1]: Leaving directory `/home/gizero/projects/src/tools/djgpp/cross/gnu/gcc- > 3.34-obj/i586-pc-msdosdjgpp/libiberty' > make: *** [all-target-libiberty] Error 2 I´m using gcc with the following specs on my box: > $ gcc -v > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux > Thread model: posix > gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) Should´n this be fixed by applying patches with unpack-gcc.sh? I´m very in a hurry to get a working build/debug (gdb) environment to work with. If you know of any other issue on djgpp with cross-gcc 3.3.4, please suggest the best alternative to this release. Thank you for help Regards, Andrea