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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel