[fpc-pascal] ibase60.inc

Marco van de Voort marcov at stack.nl
Thu Sep 4 16:03:28 CEST 2008


In our previous episode, Dimitrios Chr. Ioannidis said:
>   is it possible someone to add support for OS X in ibase60.inc ?
> 
>   Firebird for OS X is working fine for quite some time now.

This can be done. Are you sure that gds and fbembed really are
libfbclient.dylib, and not the ones from the $ELSE clause?
 
> Something like ( didn't test it )
 
> {$IFDEF Unix}
>    {$DEFINE extdecl:=cdecl}
>    {$IFDEF Darwin}
>      const
>        gdslib = 'libfbclient.dylib';
>        fbclib = 'libfbclient.dylib';
>        fbembedlib = 'libfbclient.dylib';
>      {$ELSE}
>      const
>        gdslib = 'libgds.so';
>        fbclib = 'libfbclient.so';
>        fbembedlib = 'libfbembed.so';
>      {$ENDIF}
> {$ENDIF}
> 
> 
> Comments ?
> 
> Regards,
> -- 
> Dimitrios Chr. Ioannidis 
>                 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list