[fpc-pascal] How to include Carbon.h?

BlueCat GHF03464 at nifty.ne.jp
Sat Apr 21 05:20:27 CEST 2007

Ingemar Ragnemalm wrote:
> [snip]
> Another problem when mixing languages is the Pascal RTL. You might need 
> to link with that. (That is not necessarily trivial, I am having trouble 
> with that myself.) But that doesn't sound like your problem, right?

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?

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...
View this message in context: http://www.nabble.com/How-to-include-Carbon.h--tf3605888.html#a10113330
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list