Re: C Functions

Поиск
Список
Период
Сортировка
От Franco Bruno Borghesi
Тема Re: C Functions
Дата
Msg-id 1068748956.1642.6.camel@taz
обсуждение исходный текст
Ответ на Re: C Functions  (Jason Tishler <jason@tishler.net>)
Ответы Re: C Functions  (Jason Tishler <jason@tishler.net>)
Список pgsql-cygwin
Thanks Jason!
I have to tell you that I had managed to solve this before your reply, but I think it would be good to explain what I did for any other person who has the same problem.

My library is called pgakya, so anyone interested should relpace pgakya for the name of the library he intends to build.

I replaced in my Makefile :
    gcc -shared  -o ..\bin\pgakya.so *.o
for:
    dlltool --export-all --output-def pgakya.def *.o
    dllwrap -o ..\bin\pgakya.dll --dllname pgakya.dll -def pgakya.def *.o /tmp/postgresql7.4RC2/src/utils/dllinit.o /usr/lib/postgresql -Ltmp/postgresql7.4RC2/src/backend -lpostgres

this two lines did the job, and everything works perfect now.

Thanks again Jason.

On Thu, 2003-11-13 at 15:29, Jason Tishler wrote:
On Tue, Nov 11, 2003 at 05:42:09PM -0300, Franco Bruno Borghesi wrote:
> Could anyone tell me what to do, cause I'm really lost here.

<WAG>
The following thread may apply:
   http://archives.postgresql.org/pgsql-cygwin/2003-11/msg00010.php
</WAG>

Jason
Вложения

В списке pgsql-cygwin по дате отправления:

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: C Functions
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: C Functions