Mail Archives: djgpp/2004/06/21/02:45:39

X-Authentication-Warning: mail set sender to djgpp-bounces using -f
From: "AndreA <andrea.galbusera"<Ihatespammers AT delorie DOT com>
Subject: Re: DJGPP linux cross-compiler + GDB problem
Newsgroups: comp.os.msdos.djgpp
References: <A5dAc.342543$hc5 DOT 14767707 AT news3 DOT tin DOT it> <9003-Thu17Jun2004205638+0300-eliz AT gnu DOT org> <kcwAc.489442$rM4 DOT 20195825 AT news4 DOT tin DOT it> <200406181249 DOT 21532 DOT pavenis AT latnet DOT lv>
Lines: 59
Organization: TW
User-Agent: KNode/0.7.2
MIME-Version: 1.0
Message-ID: <ZfvBc.501863$>
Date: Mon, 21 Jun 2004 06:30:17 GMT
X-Complaints-To: newsmaster AT tin DOT it
X-Trace: 1087799417 (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:

> 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
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
> zero/projects/src/tools/djgpp/cross/gnu/gcc-3.34-obj/gcc/
> msdosdjgpp/bin/ -B/usr/local//i586-pc-msdosdjgpp/lib/ -isystem
> pc-msdosdjgpp/include -c -DHAVE_CONFIG_H -O2 -g -O2 -I.
> berty/../include  -W -Wall -Wtraditional -pedantic
> 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
> 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
> 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 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


- Raw text -

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