[fpc-pascal] What's in Hello World

Karoly Balogh charlie at scenergy.dfmk.hu
Mon Jan 8 14:24:42 CET 2024


Hi,

On Mon, 8 Jan 2024, Marco van de Voort via fpc-pascal wrote:

>
> Op 8-1-2024 om 14:03 schreef Karoly Balogh via fpc-pascal:
> > No, it's not. But the Linker specific options are under Options ->
> > Linker... There's a smartlinking related option there, but I'm not sure if
> > it is what you need. :)
>
> That one is -XX, and the "create smartlinkable units" in the tab before is -CX
> (generate smartlinkable units or something similar) .
>
> If you change these, force a build afterwards.

You do not need this, if you use a platform that supports section
smartlinking. Then smartlinking "just works" from the regular objects and
libraries.

But yeah, this depends on the target platform. You do not need this on
Linux, which where this discussion started. I'm sure you also do not need
this, if you use the internal linker on Windows either.

Charlie


More information about the fpc-pascal mailing list