Re: [fpc-pascal] modifying system.pp's InstallSignals

2009-03-31 Thread Jonas Maebe
On 31 Mar 2009, at 15:53, Vincent Snijders wrote: Seth Grover schreef: Does that seem like the right way for me to get the functionality of those calls available to me in InstallSignals? Or is there something easier I'm missing? I don't think it can be done without editing the system unit. I

Re: [fpc-pascal] modifying system.pp's InstallSignals

2009-03-31 Thread Vincent Snijders
Seth Grover schreef: Does that seem like the right way for me to get the functionality of those calls available to me in InstallSignals? Or is there something easier I'm missing? I don't think it can be done without editing the system unit. If you are willing to do that, I would add a procva

Re: [fpc-pascal] modifying system.pp's InstallSignals

2009-03-31 Thread Marco van de Voort
In our previous episode, Seth Grover said: > Does that seem like the right way for me to get the functionality of > those calls available to me in InstallSignals? Or is there something > easier I'm missing? It is roughly ok. Optionally you can also -dFPC_USE_LIBC to force the system unit to use li

[fpc-pascal] modifying system.pp's InstallSignals

2009-03-31 Thread Seth Grover
I'm working on a project in Linux where I've got some special signal handling requirements. I need to modify system.pp's InstallSignals to dynamically load an .so, look up a function by name, and make some calls into that library instead of doing what it normally does. The dynlibs unit has the cod