Re: [HACKERS] compiling C library under mingw

2010-10-09 Thread Marios Vodas
It is an exe don't I need a dll? Can you get more specific on "either directly or by manually creating an import library"? What I understand by directly is that I should rename postgres.exe to postgres.dll. Thank you for responding so quickly. On Sat, Oct 9, 2010 at 12:44 PM, Magnus Hagander wrote

Re: [HACKERS] compiling C library under mingw

2010-10-09 Thread Magnus Hagander
You need to link to postgres.exe - either directly or by manually creating an import library. //Magnus On Sat, Oct 9, 2010 at 11:40, Marios Vodas wrote: > I did a little search and I found that probably there is a library (dll or > lib ???) that contains all these references. I could specify it

Re: [HACKERS] compiling C library under mingw

2010-10-09 Thread Marios Vodas
I did a little search and I found that probably there is a library (dll or lib ???) that contains all these references. I could specify it by using -L/C/path/to/libraries -libraryname as an option to the second gcc command, but I have no idea what the library is and where to find it (I used -L/C/Po

[HACKERS] compiling C library under mingw

2010-10-08 Thread Marios Vodas
I have a library that compiles fine under linux. But when I try to compile it under mingw on windows 7 I get the following errors. gcc.exe -c -O2 -I/C/PostgreSQL/9.0/include/server > -I/C/PostgreSQL/9.0/include/server/utils > -I/C/PostgreSQL/9.0/include/server/access > -I/C/PostgreSQL/9.0/include/