- via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am Di., 18. Feb.
2020, 13:16:

> Hi,
>
> A while ago (5 years) I made an application where I had to add -k-lxxxx
> to the command-line the compile that application.
> Is there a way to add this in the source ?
> I spent a good time to find out how I compiled that application last
> time. Fortunately .bash_history saved me.
>

If it is to add a library or object file then you can do this using
$L/$Link (
https://freepascal.org/docs-html/current/prog/progsu43.html#x50-490001.2.43
) or $LinkLib (
https://freepascal.org/docs-html/current/prog/progsu46.html#x53-520001.2.46
).
If you provide more information about what exactly you pass to the linker
we can help you more.

Regards,
Sven

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to