On 02/24/2014 03:07 PM, Sven Barth wrote:
As long as the Pascal code is restricted to one thread you won't have a problem, otherwise the reference counting needs to be threadsafe (it uses InterlockedIncrement/-Decrement which currently is implemented as a simple inc/dec).
I understand that this code resides in the RTL, which I would need to re-implement for the "embedded" system anyway. Here I simply could disable/enable interrupt to disallow a task switch.
... as the binutils are merely assembler and linker. And without the former you won't get a .o file and without the later not a program ;)

I see.

I'll need to check how Linux does PIC on m68k and also learn how to implement PIC in FPC. :)
Yep. But don't hurry :-)

-Michael
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to