Mail Archives: djgpp/2000/05/15/08:20:35
On 15 May 2000, at 11:01, Waldemar Schultz wrote:
> Maurice Lombardi schrieb:
>
> > You can find of the last alpha gpc-19991030 compiled with gcc 2.95.2
> > using standard djgpp tools (LFN W98 dos box), ready to unzip into the
> > djgpp tree, in our ftp server:
> >
> > ftp://genet.ujf-grenoble.fr/pub/GPC/gpc-19991030-gcc-2952-djgpp.zip
> >
>
> Thank you very much.
> Maybe I have to change somthing in djgpp.env ?
>
> That is what I have:
> [gpc-cpp]
> C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/pascal
>
> [gpc]
> COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
> LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib
>
>
> here is the error output:
>
> C:\USR\FGSM\H2O\SIM>gpc ths900.pas -v
> Reading specs from e:/djgpp/lib/gcc-lib/djgpp/2.952/specs
> gpc version 19991030, based on 2.95.2 19991024 (release)
> e:/djgpp/bin/gpc-cpp.exe -lang-pascal -v -nocharescape -D__GNU_PASCAL__ -undef
> -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__GPC__=2 -D__GPC_MINOR__=0 -D__GPC_RELEASE__
> =19991030 -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__OS_DOS__=1 -D__unix__ -D__i
> 386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__OS_DOS__=1 -D__unix -D__i386 -D__
> GO32 -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(
> i386) -D__BITS_LITTLE_ENDIAN__=1 -D__BYTES_LITTLE_ENDIAN__=1 -D__WORDS_LITTLE_EN
> DIAN__=1 -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentium
> __ -imacros e:/djgpp/lib/../include/sys/version.h -remap ths900.pas c:/temp\ccbq
> xfof.i
> GNU CPP version 2.0(2.7.2.1) (80386, BSD syntax)
^^^^^^^
> gpc-cpp.exe: Invalid option `-remap'
>
It seems that gpc-cpp.exe were based on outdated version of cpp
which doesn't support option -remap. Of course it's possible to remove
this option from e:/djgpp/lib/gcc-lib/djgpp/2.952/specs but I don't
think this only problem with gpc-19991030 and gcc-2.95.2. I'm afraid
that also handling DOSish directory separator '\' could be broken.
Andris
- Raw text -