Re: [fpc-pascal] Smartlinking public functions

2010-03-06 Thread dmitry boyarintsev
Thanks for your help! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Smartlinking public functions

2010-03-06 Thread Jonas Maebe
On 06 Mar 2010, at 22:17, dmitry boyarintsev wrote: > On Sat, Mar 6, 2010 at 9:14 PM, Jonas Maebe wrote: >> No. And even if we would add a special modifier for that, I don't know how >> it could be easily implemented for non-Mac OS X platforms (although I >> realise that you probably need this

Re: [fpc-pascal] Smartlinking public functions

2010-03-06 Thread dmitry boyarintsev
On Sat, Mar 6, 2010 at 9:14 PM, Jonas Maebe wrote: > No. And even if we would add a special modifier for that, I don't know how it > could be easily implemented for non-Mac OS X platforms (although I realise > that you probably need this for Mac OS X, a generic modifier would have to be > suppo

Re: [fpc-pascal] Smartlinking public functions

2010-03-06 Thread Jonas Maebe
On 06 Mar 2010, at 22:05, dmitry boyarintsev wrote: > This would prevent the smartlinking, but is there more beautiful way > to prevent a function from being smartlinked? No. And even if we would add a special modifier for that, I don't know how it could be easily implemented for non-Mac OS X p

[fpc-pascal] Smartlinking public functions

2010-03-06 Thread dmitry boyarintsev
Hello Developers The system expects an application to implement (export) some functions that are to be linked statically. I'm using [public] modifier: function someFunc: Integer cdecl; [public]; alias: '_someFunc'; The linker catches up the function and statically links it with the system librar