[fpc-pascal] How to include Carbon.h?
Jonas Maebe
jonas.maebe at elis.ugent.be
Sat Apr 21 15:11:21 CEST 2007
On 21 Apr 2007, at 05:20, BlueCat wrote:
> Thanks to you all, my library is able to use FPCMacOSAll unit that may
> include a FPC equivalent of Carbon.h. But there still remains some
> unstabilities. So I'd like to rule out problems of RTC
> initialisatiion
> problem and unit entry codes.
>
> I have noticed a label "_PASCALMAIN " in assembler source files.
> Is this
> the entry point of RTL initialisation code?
It's the entry point of the main program or library. It will, a.o.,
call the RTL initialisation code. In case of a dynamic library, it's
automatically called by the dynamic linker when loading the library.
> And I have a vague question. What document is must-read to know such
> technical details concerning to FPC and Darwin/Carbon as linking
> frameworks,
> FPCMacOSAll unit usage, library entry point and so on. Such
> details cannot
> be found pdfs comming with FPC MacOSX packeage. So I wondered
> where I must
> go to see...
There is no such documentation at this time. I don't know of anyone
working on it either.
Jonas
More information about the fpc-pascal
mailing list