Date: Wed, 06 Nov 2002 11:58:29 -0500 From: 2boxers <2boxers AT comcast DOT net> Subject: problems making linux build/host for target msdosdjgpp To: djgpp AT delorie DOT com, djgpp-workers AT delorie DOT com, DJ Delorie Message-id: <00a201c285b5$bb443760$021ca8c0@helm> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Mailer: Microsoft Outlook Express 5.50.4807.1700 Content-type: multipart/alternative; boundary="Boundary_(ID_EKb1SBGuQMukcoAQwQPyNQ)" X-Priority: 3 X-MSMail-priority: Normal Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. --Boundary_(ID_EKb1SBGuQMukcoAQwQPyNQ) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Greetings, I am attempting to make a linux host/build cross-compiler with = msdosdjgpp as the target I am following the howto found here: http://www.delorie.com/howto/djgpp/linux-x-djgpp.html I am using a cross binutils-2.13 and am attempting to make with a cross gcc-3.2 When I make, I get the following error: /root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/xgcc = -B/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/ = -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/bin/ = -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/lib/ -isystem = /usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/include -c = -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-3.2-src/libiberty/../include = -W -Wall -Wtraditional -pedantic ../../../gcc-3.2-src/libiberty/getpwd.c ../../../gcc-3.2-src/libiberty/getpwd.c: In function `getpwd': ../../../gcc-3.2-src/libiberty/getpwd.c:86: `PATH_MAX' undeclared (first = use in this function) ../../../gcc-3.2-src/libiberty/getpwd.c:86: (Each undeclared identifier = is reported only once ../../../gcc-3.2-src/libiberty/getpwd.c:86: for each function it appears = in.) make[1]: *** [getpwd.o] Error 1 Is this file not seeing the djgpp limits.h? There are several limits.h in my filesystem, but with regards to the = djgpp limits.h, is this the right place for it? $prefix/i686-pc-msdosdjgpp/include To get past this error, I tried copying limits.h from = $prefix/i686-pc-msdosdjgpp/include to gcc-3.2-src/include and then added #include "limits.h" to getpwd.c. I tried building again and this time fibheap.c has an undeclared = MIN_LONG. Again, found in the djgpp limits.h. Is am wondering if it ok to manually include the djgpp limits.h in these = files in an attempt to get the compiler to build. fibheap.c has #include, but is it = possible that it is seeing the wrong limits.h? As per the design of fibheap.c, which limits.h should it be including? Anyhow, after I manually include the djgpp limits.h in these to files = and run make again, make fails with these errors: In file included from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/bits/locale_facets.h:63, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/bits/basic_ios.h:41, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/ios:51, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/basic_file.h:45, from basic_file.cc:34: /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:46: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:47: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:49: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: ` _X' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:51: ` _S' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _B' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:54: ` _C' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:55: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _N' was not declared in this scope In file included from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/bits/locale_facets.h:63, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/bits/basic_ios.h:41, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/ios:51, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/istream:44, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/fstream:45, from = /root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/src/globals.cc:30:= /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:46: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:47: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:49: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: ` _X' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:51: ` _S' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _B' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:54: ` _C' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:55: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _N' was not declared in this scope make[3]: *** [basic_file.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... /root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/xgcc -shared-libgcc = -B/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/ -nostdinc++ = -L/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-= v3/src = -L/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-= v3/src/.libs -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/bin/ = -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/lib/ -isystem = /usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/include -nostdinc++ = -I/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-= v3/include/i686-pc-msdosdjgpp = -I/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-= v3/include = -I/root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/libsupc++ = -I/root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/libmath -g -O2 = -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline = -fdiagnostics-show-location=3Donce -g -c = /root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/src/complex_io.cc = -o complex_io.o make[3]: *** [globals.lo] Error 1 In file included from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/bits/locale_facets.h:63, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/bits/basic_ios.h:41, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/ios:51, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/istream:44, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/sstream:44, from = /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/complex:51, from = /root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/src/complex_io.cc:= 30: /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:46: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:47: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:49: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: ` _X' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:51: ` _S' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: ` _B' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: ` _N' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:54: ` _C' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:55: ` _P' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _U' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _L' was not declared in this scope /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3= /include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: ` _N' was not declared in this scope make[3]: *** [complex_io.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory = `/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v= 3' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory = `/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v= 3' make: *** [all-target-libstdc++-v3] Error 2 Thank you for any help with this, Charles --Boundary_(ID_EKb1SBGuQMukcoAQwQPyNQ) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT
Greetings,
I am attempting to make a linux host/build cross-compiler with msdosdjgpp as the target
 
I am following the howto found here:
http://www.delorie.com/howto/djgpp/linux-x-djgpp.html
 
I am using a cross binutils-2.13
and am attempting to make with a cross gcc-3.2
 
When I make, I get the following error:
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/xgcc -B/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/ -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/bin/ -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/lib/ -isystem /usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/include -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-3.2-src/libiberty/../include  -W -Wall -Wtraditional -pedantic ../../../gcc-3.2-src/libiberty/getpwd.c
../../../gcc-3.2-src/libiberty/getpwd.c: In function `getpwd':
../../../gcc-3.2-src/libiberty/getpwd.c:86: `PATH_MAX' undeclared (first use in this function)
../../../gcc-3.2-src/libiberty/getpwd.c:86: (Each undeclared identifier is reported only once
../../../gcc-3.2-src/libiberty/getpwd.c:86: for each function it appears in.)
make[1]: *** [getpwd.o] Error 1

Is this file not seeing the djgpp limits.h?
There are several limits.h in my filesystem, but with regards to the djgpp limits.h, is this the right place for it?
$prefix/i686-pc-msdosdjgpp/include
To get past this error, I tried copying limits.h from $prefix/i686-pc-msdosdjgpp/include
to gcc-3.2-src/include and then added #include "limits.h" to getpwd.c.

I tried building again and this time fibheap.c has an undeclared MIN_LONG.
Again, found in the djgpp limits.h.

Is am wondering if it ok to manually include the djgpp limits.h in these files in an attempt to
get the compiler to build.  fibheap.c has #include<limits.h>, but is it possible that it is seeing the wrong limits.h?
As per the design of fibheap.c, which limits.h should it be including?
 
Anyhow, after I manually include the djgpp limits.h in these to files and run make again, make fails with these errors:
In file included from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/locale_facets.h:63,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/basic_ios.h:41,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/ios:51,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/basic_file.h:45,
                 from basic_file.cc:34:
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:46: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:47: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:49: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: `
   _X' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:51: `
   _S' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _B' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:54: `
   _C' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:55: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _N' was not declared in this scope
In file included from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/locale_facets.h:63,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/basic_ios.h:41,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/ios:51,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/istream:44,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/fstream:45,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/src/globals.cc:30:
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:46: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:47: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:49: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: `
   _X' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:51: `
   _S' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _B' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:54: `
   _C' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:55: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _N' was not declared in this scope
make[3]: *** [basic_file.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/xgcc -shared-libgcc -B/root/updates/gcc/djgpp/cross/gcc-3.2-obj/gcc/ -nostdinc++ -L/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/src -L/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/src/.libs -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/bin/ -B/usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/lib/ -isystem /usr/local/compiler/cross/gcc-3.2/i686-pc-msdosdjgpp/include -nostdinc++ -I/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp -I/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include -I/root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/libsupc++ -I/root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c /root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/src/complex_io.cc -o complex_io.o
make[3]: *** [globals.lo] Error 1
In file included from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/locale_facets.h:63,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/bits/basic_ios.h:41,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/ios:51,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/istream:44,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/sstream:44,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/complex:51,
                 from /root/updates/gcc/djgpp/cross/gcc-3.2-src/libstdc++-v3/src/complex_io.cc:30:
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:46: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:47: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:48: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:49: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: `
   _X' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:50: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:51: `
   _S' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:52: `
   _B' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:53: `
   _N' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:54: `
   _C' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:55: `
   _P' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _U' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _L' was not declared in this scope
/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3/include/i686-pc-msdosdjgpp/bits/ctype_base.h:56: `
   _N' was not declared in this scope
make[3]: *** [complex_io.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/root/updates/gcc/djgpp/cross/gcc-3.2-obj/i686-pc-msdosdjgpp/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
 
Thank you for any help with this,
Charles



 
--Boundary_(ID_EKb1SBGuQMukcoAQwQPyNQ)--