On 19 apr 2007, at 12:57, Milan Marusinec wrote:

BlueCat wrote:
Hello, Pascal folks,
I'm using FPC 2.0.4 on MacOSX 1.4.9 PPC and trying to write a Pascal library that is externally called from REALbasic (Rb). But Rb needs Carbon.h header
included in dylibs which are called by Rb programs.

To include Carbon.pas in your fpc-mac os X project you need
additional libraries, which are not a part of the Free Pascal on mac.
They are the Universal Pascal Interfaces (UPI), which are a part of the
Apple Universal Interfaces, which can be downloaded at:
ftp://ftp.apple.com/developer/Development_Kits/ UniversalInterfaces3.4.2.dmg

This is incorrect. That version is very outdated and contains several errors. As of 2.0.4, FPC contains the common Mac OS interfaces for FPC, GPC and MW, which contain many more Pascal headers than what Apple distributes and also many bug fixes.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to