[fpc-devel] New commandline switch

Olle Raab olle.r at automagika.se
Sun Feb 6 23:14:15 CET 2005


05-02-06 22.41, skrev Peter Vreman följande:

> The compiler has a new commandline switch -Fa<unit1>[,unit2]. When a
> program is compiled the compiler will first load unit1 and unit2 before
> the uses line is parsed. This can be used to load units that need to early
> initialization like cmem,cthreads,lineinfo,heaptrc.
> 
> Example: "-g -Faheaptrc,lineinfo" this is same as "-glh".

Nice !

This will make it especially easy to port Think Pascal programs, where the
macos api is implicitelly included.

Olle





More information about the fpc-devel mailing list