[fpc-pascal] Commandline to compile projects with generics

luciano de souza luchyanus at gmail.com
Mon Sep 22 15:53:19 CEST 2014


Hello all,

I don't use Lazarus, but only Freepascal. Untill the generics advent,
I used to compile my projects with the following commandline:

fpc progname.pp

However, using generics, it was common an access violation in
compiling time. A friend said that codes with generics sould be
compiled with:

fpc progname.pp -B -Scghi -O1 -gw2 -godwarfsets -gl -vewnhi

Yes, it works, but why is it not possible to compile programs with
generics with the conventional method?

Regards,

-- 
Luciano de Souza



More information about the fpc-pascal mailing list