[fpc-pascal] compile Link Smart option, is it -XX or -CX?

Dennis Poon dennis at avidsoft.com.hk
Thu Mar 3 12:12:50 CET 2016



Sven Barth wrote:
>
> Am 03.03.2016 09:26 schrieb "Dennis" <dec12 at avidsoft.com.hk 
> <mailto:dec12 at avidsoft.com.hk>>:
> >
> > According to http://www.freepascal.org/docs-html/prog/progse30.html
> >
> > the smartlink option on the command line is -CX
> > but in Lazarus ver 1.42,
> >    Compilation and Linking
> >       Linking
> >           Link Smart is -XX
>
> They are different. -CX tells the compiler to compile units with smart 
> linking capability (though I'd need to check what exactly that 
> entails), while -XX enables smart linking.
>
> Regards,
> Sven
>
>
Would you kindly elaborate?
If -XX is not set, does that mean Smart Link is disabled and even if -CX 
is set, it is ignored?

Dennis
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal




More information about the fpc-pascal mailing list