Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-05

Dynamic Linking (-XD)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ivan Shikhalev

This is a very nice feature - dynamic linking of "ppumove'd" units with the "-XD" option.
But it isn't possible use this with smartlinking for other units... May be best to add this variant?

I see two ways:

1. Simple: preferred order - if the "-XD" key is used, for any unit compiler try link it dinamically,
then smart, then static. I think to make this patch in a small time.

2. Complex: parse command line switchs with they position, and take priorities from order:
first way in this case must seems as "-XDXS" or "-XDX".

What's about this?

---------- Ivan Shikhalev

Reply by email