[fpc-devel]bug?

Jonas Maebe jonas at zeus.rug.ac.be
Mon Jun 11 10:57:35 CEST 2001


On zaterdag, juni 9, 2001, at 12:07 , Monk wrote:

> Hello fpc-devel,
>
>   why link does not work when .pas is situated in the directory,
>   beginning with '!' ? using fp 1.0.4, mode of compiling "debug"

That's normal because parameters starting with "!" are supposed to be 
environment variables, just like parameters starting with "-" are 
supposed to be switches and not filenames. If you use e.g. (under 
Dos/Windows)

set fpcparams="-va myfile.pas"

ppc386 !fpcparams

then the "!fpcparams" will be replaced with "-va myfile.pas". This is 
used when cross-compiling the compiler/rtl wetween win32 and go32v2, 
because otherwise the commandline gets cut of at 127 characters (and it 
can grow longer in that case).


Jonas




More information about the fpc-devel mailing list