Message-ID: <000d01c3055a$8e2ac8f0$0100a8c0@acp42g> From: "Andrew Cottrell" To: References: <10304150357 DOT AA21198 AT clio DOT rice DOT edu> <000701c30324$21b371a0$0100a8c0 AT acp42g> Subject: Re: dxe review Date: Fri, 18 Apr 2003 13:28:17 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Reply-To: djgpp-workers AT delorie DOT com > > Please take a look at it if you have a chance - I'd like to get it checked > > into CVS ASAP so we can start using it in the next alpha build. > > I will post my results once I finish the build and then use the resulting > files to do the build again to see if there are any problems. TEST RESULT FEEDBACK #1 ---------------------------------- I grabbed the latest CVS code this morning and then unzipped the zip over the top. The resulting src directory tree will not build with GCC 3.2.2 out of the box. I have modified two makefiles and have been able to build LIBC. Now for a complete build... more results to come ====================== ISSUE 1 ====================== Problem:- Cannot make dxe3stat.c as follows. DJ204 D:\dj204\src>make >>>>> SNIP <<<<<<<<< d:/dj204/bin/make.exe -C dos/sys/timeb d:/dj204/bin/make.exe -C dpmi/api d:/dj204/bin/make.exe -C dpmi/helper d:/dj204/bin/make.exe -C dxe gcc ... -c dxe3stat.c cc1.exe: warnings being treated as errors dxe3stat.c:48: warning: no previous prototype for `dlstatbind' dxe3stat.c:73: warning: no previous prototype for `dlstatunbind' make.exe[3]: *** [dxe3stat.o] Error 1 make.exe[2]: *** [all_subs] Error 2 make.exe[1]: *** [all] Error 2 make.exe: *** [subs] Error 2 DJ204 D:\dj204\src\libc\dxe>make gcc ... -c dxe3stat.c cc1.exe: warnings being treated as errors dxe3stat.c:48: warning: no previous prototype for `dlstatbind' dxe3stat.c:73: warning: no previous prototype for `dlstatunbind' make.exe: *** [dxe3stat.o] Error 1 Quick work arround:- Add the following to the src\libc\dxe\makefile:- dxe3stat.o: CFLAGS += -Wno-error ====================== ISSUE 2 ====================== Cannot build src\dxe\dxe3gen.c as follows. gcc ... -c fini3.S strip --strip-unneeded fini3.o bin2h fini3.o fini3 fini3.h gcc -g -DDXE_LD=\"ld\" dxe3gen.c -o ../../hostbin/dxegen.exe gcc ... -c dxe3gen.c ld -s ../../lib/crt0.o dxe3gen.o ../../lib/libc.a -o ../../bin/dxe3gen.exe d:/d j204/lib/gcc-lib/djgpp/3.22/libgcc.a -T d:/dj204/lib/gcc-lib/djgpp/3.22/djgpp-x. djl ./../../hostbin/stubify.exe ../../bin/dxe3gen.exe ./../../hostbin/stubify.exe -g ../../bin/dxegen.exe ./../../hostbin/stubedit.exe ../../bin/dxegen.exe runfile=dxe3gen gcc ... -c dxe3res.c cc1.exe: warnings being treated as errors dxe3res.c: In function `cmp': dxe3res.c:116: warning: cast discards qualifiers from pointer target type dxe3res.c:116: warning: cast discards qualifiers from pointer target type make.exe[1]: *** [dxe3res.o] Error 1 make.exe: *** [subs] Error 2 Quick work arround:- Add the following to the src\dxe\makefile:- dxe3res.o: CFLAGS += -Wno-error Andrew