[fpc-pascal] Linking using "external" on Mac OS X

Daniël Mantione daniel.mantione at freepascal.org
Wed Mar 28 23:07:33 CEST 2007



Op Wed, 28 Mar 2007, schreef Jonas Maebe:

> That's correct. I did this in the beginning because almost many library names
> used in the sources we distribute are wrong for Mac OS X, and didn't feel like
> cleaning those up everywhere. I never got around to actually changing all
> those names into symbolic constants which are properly defined based on the
> platform and then enabling parsing of the library names in external
> definitions for Mac OS X.

Should not be necessary. You can define a library alias using Marco's 
alias system in the config file. Apart from saving work, it also saves
an ifdef spaghetti section.

Daniël


More information about the fpc-pascal mailing list