Frank Heckenbach a écrit:
I have uploaded a new alpha version of GPC to http://www.gnu-pascal.de/alpha/.
I have found a new bug. with DJGPP/ gcc-3.2.3 compiling a simple hello.pas program with options gpc hello.pas -o hello.exe -march=pentium4 -v
Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.23/specs Configured with: /djgpp/b/gnu/gcc-3.23/configure i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR --disable-nls --enable-languages=pascal --enable-checking Thread model: single gpc version 20050217, based on gcc-3.2.3 c:/djgpp/lib/gcc-lib/djgpp/3.23/gpcpp.exe -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WORDS_LITTLE_ENDIAN__=1 -D__NEED_NO_ALIGNMENT__=1 -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=3 -D__GXX_ABI_VERSION=102 -D__MSDOS__ -D__GO32__ -D__DJGPP__=2 -D__unix__ -D__MSDOS__ -D__GO32__ -D__DJGPP__=2 -D__unix__ -Asystem=msdos -Asystem=unix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__pentium4 -D__pentium4__ -D__tune_pentium4__-D__SSE__ -D__MMX__ -D__SSE2__ -DMSDOS -DGO32 -DDJGPP=2 -Dunix -remap -imacros c:/djgpp/lib/gcc-lib/djgpp/3.23/djgpp.ver hello.pas -famtmpfile=c:/djgpp/tmp/ccsYIPTf.gpa -fautobuild c:/djgpp/tmp/ccKMhvDl.i GNU Pascal Compiler PreProcessor version 20050217, based on gcc-3.2.3 (80386, BSD syntax) hello.pas:0: malformed option `-D __tune_pentium4__-D__SSE__'
Missing a space. Nothing similar with -march=pentiumpro or with the previous gpc-20040218 I have checked that the specs file is not overwritten.
Maurice