[fpc-pascal] What's in Hello World

Karoly Balogh charlie at scenergy.dfmk.hu
Mon Jan 8 14:03:05 CET 2024


Hi,

On Sun, 7 Jan 2024, James Richters via fpc-pascal wrote:

> >Try building with smartlinking, -XX
>
> I never knew there was an option for smartlinking.   I'm using the FPC text
> IDE, I see various options like
> Generate Smaller Code, and level 1, 2, and 3 optimizations, but I don't see
> anything specifically called smartlinking.
> Is it the same as Generate Smaller Code?

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. :)

> or if not, is there another way to turn it on in the textmode IDE?

There's a field called "Additional Compiler Args" in the Compiler Switches
window, in the Options -> Compiler... menu. You can add arguments there
like you'd invoke the regular command line compiler.

Charlie


More information about the fpc-pascal mailing list