On 25 Feb 2005 at 17:15, Maurice Lombardi wrote:
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.
Confirmed also under Mingw: Reading specs from d:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/specs Configured with: ../configure --with-gcc --with-gnu-ld --with-gnu-as -- host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads -- disable-nls --enable-languages=pascal --disable-win32-registry -- disable-shared --enable-sjlj-exceptions --without-x --enable- interpreter --enable-hash-synchronization Thread model: win32 gpc version 20050217, based on gcc-3.2.3 (mingw special 20030504-1) d:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/gpcpp.exe - D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 - D__WORDS_LITTLE_ENDIAN__=1 -D__NEED_NO_ALIGNMENT__=1 -v -iprefix d:\mingw\bin../lib/gcc-lib/mingw32/3.2.3/ -D__GNUC__=3 - D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=3 -D__GXX_ABI_VERSION=102 - D_WIN32 -D__WIN32 -D__WIN32__ -DWIN32 -D__MINGW32__ -D__MSVCRT__ - DWINNT -D_X86_=1 -D_WIN32 -D__WIN32 -D__WIN32__ -D__WIN32__ - D__MINGW32__ -D__MSVCRT__ -D__WINNT__ -D_X86_=1 -D__WIN32 -D__WINNT - Asystem=winnt -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__ - D__stdcall=__attribute__((__stdcall__)) - D__cdecl=__attribute__((__cdecl__)) - D__fastcall=__attribute__((__fastcall__)) - D_stdcall=__attribute__((__stdcall__)) - D_cdecl=__attribute__((__cdecl__)) - D_fastcall=__attribute__((__fastcall__)) - D__declspec(x)=__attribute__((x)) hello.pas - famtmpfile=e:/temp/ccqsaaaa.gpa e:/temp/ccGKaaaa.i GNU Pascal Compiler PreProcessor version 20050217, based on gcc-3.2.3 (mingw special 20030504-1) (80386, BSD syntax) hello.pas:0: malformed option `-D __tune_pentium4__-D__SSE__'
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/