|
Re: [PATCH] bios make & gcc 3.2: msg#00154emulators.bochs.devel
IIRC it's sufficient to use the additional compiler switch "-P". The default behaviour of gcc´s preprocessor used to be different. Eike. [...] > My (default redhat) gcc 3.2 adds extra comments to the preprocessed .c > file which bcc does not accept. Next patch fixes it. > > > Frank > > --- bochs.orig/bios/Makefile.in 2003-11-13 10:54:39.000000000 +0100 > +++ bochs/bios/Makefile.in 2003-11-27 12:50:48.000000000 +0100 > @@ -65,7 +65,7 @@ > @RMCOMMAND@ BIOS-bochs-* > > BIOS-bochs-latest: rombios.c biossums > - gcc -DBX_SMP_PROCESSORS=1 -E $< > _rombios_.c > + gcc -DBX_SMP_PROCESSORS=1 -E $< | grep -v '^#' > _rombios_.c > bcc -o rombios.s -C-c -D__i86__ -0 -S _rombios_.c > sed -e 's/^\.text//' -e 's/^\.data//' rombios.s > _rombios_.s > as86 _rombios_.s -b tmp.bin -u- -w- -g -0 -j -O -l rombios.txt > @@ -75,7 +75,7 @@ > rm -f _rombios_.s [...] ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: rombios Info port: 00154, Frank Cornelis |
|---|---|
| Next by Date: | Automatic checksums for rombios.c with biossums: 00154, eiked |
| Previous by Thread: | [PATCH] bios make & gcc 3.2i: 00154, Frank Cornelis |
| Next by Thread: | Re: [PATCH] bios make & gcc 3.2: 00154, Frank Cornelis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |