This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/4834: making gcc as cross-compiler for i586-pc-msdosdjgpp fails
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/4834: making gcc as cross-compiler for i586-pc-msdosdjgpp fails
- From: trachier at crrel dot usace dot army dot mil
- Date: 8 Nov 2001 16:58:27 -0000
- Reply-To: trachier at crrel dot usace dot army dot mil
>Number: 4834
>Category: bootstrap
>Synopsis: making gcc as cross-compiler for i586-pc-msdosdjgpp fails
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 08 09:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Gary Trachier
>Release: 3.0.2
>Organization:
>Environment:
Linux hanish 2.4.3-12 #1 Fri Jun 8 15:05:56 EDT 2001 i686 unknown
Red Hat Linux release 7.1
making cross-compiler for --target= i586-pc-msdosdjgpp
>Description:
gcc compiles and makes ok as a compiler for i686-pc-linux-gnu running on i686-pc-linux-gnu. It fails though when target is i586-pc-msdosdjgpp. Am using the latest versions of binutils (2.11.2) and djgpp (2.0.3).
PATH_MAX is undefined in getpwd.c
getpwd.c: In function `getpwd':
getpwd.c:74: `PATH_MAX' undeclared (first use in this function)
getpwd.c:74: (Each undeclared identifier is reported only once
getpwd.c:74: for each function it appears in.)
getpwd.c:61: warning: `s' might be used uninitialized in this function
make[1]: *** [getpwd.o] Error 1
make[1]: Leaving directory `/usr/local/src/gcc-3.0.2/i586-pc-msdosdjgpp/libiberty'
make: *** [all-target-libiberty] Error 2
>How-To-Repeat:
./configure --target=i586-pc-msdosdjgpp
make
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: