Subject | Re: Build UDF under mac os X Tiger - Solved |
---|---|
Author | Moreno Vandelli |
Post date | 2008-02-05T11:04:29Z |
> Date: 22 Jan 2008 12:18:21 +0000 (UTC)Thank for your suggestion: this solves the problem.
> "Moreno Vandelli" wrote:
> ..
> Since "fbudf" build correctly without special "export
> macro" (there is a "#define ISC_EXPORT" in the code),
> could someone tell me where I'm wrong?
>
> Thank you in advance
>> Date: 30 Jan 2008 11:55:41 +0100
>> "Paul Beach" wrote:
>>
>> Try building it as a bundle. Rather than a dynamic library.
>> Currently the UDF libraries supplied with Firebird on MacOS
>> are "bundles".
>>
>> This will probably change in Firebird 2.1
I was wrong on two sides: first I wrote a buggy makefile
and, second, I used the "-dynamiclib" switch.
With a simple "gcc -bundle <afilelist.c> -L/.. -I/..
-o libname.dylib" the build process works correctly.
Many thanks again, to Paul and Firebird-Group.