Re: [HACKERS] DLL export with mingw-w64: currently a no-op

2011-05-04 Thread Andrew Dunstan
On 05/04/2011 01:25 AM, Johann 'Myrkraverk' Oskarsson wrote: On Tue, 03 May 2011 12:40:28 -, Andrew Dunstan and...@dunslane.net wrote: Our Makefiles use dlltool and dllwrap to create DLLs. If you used our recommended build method pgxs would do lots of the work for you. I'm not sure

Re: [HACKERS] DLL export with mingw-w64: currently a no-op

2011-05-04 Thread Johann 'Myrkraverk' Oskarsson
On Wed, 04 May 2011 15:11:57 -, Andrew Dunstan and...@dunslane.net wrote: On 05/04/2011 01:25 AM, Johann 'Myrkraverk' Oskarsson wrote: On Tue, 03 May 2011 12:40:28 -, Andrew Dunstan and...@dunslane.net wrote: Our Makefiles use dlltool and dllwrap to create DLLs. If you used our

Re: [HACKERS] DLL export with mingw-w64: currently a no-op

2011-05-03 Thread Andrew Dunstan
On 05/03/2011 02:46 AM, Johann 'Myrkraverk' Oskarsson wrote: Hi PostgreSQL Hackers, When compiling PG with mingw-w64 the PGDLLEXPORT macro is blank. Here is a patch that fixes it for me. If this is correct, I'd appreciate it will be applied to 9.0.x as well as HEAD. AFAICT it's not

Re: [HACKERS] DLL export with mingw-w64: currently a no-op

2011-05-03 Thread Johann 'Myrkraverk' Oskarsson
On Tue, 03 May 2011 09:32:29 -, Andrew Dunstan and...@dunslane.net wrote: On 05/03/2011 02:46 AM, Johann 'Myrkraverk' Oskarsson wrote: When compiling PG with mingw-w64 the PGDLLEXPORT macro is blank. Here is a patch that fixes it for me. If this is correct, I'd appreciate it will be

Re: [HACKERS] DLL export with mingw-w64: currently a no-op

2011-05-03 Thread Andrew Dunstan
On 05/03/2011 06:45 AM, Johann 'Myrkraverk' Oskarsson wrote: On Tue, 03 May 2011 09:32:29 -, Andrew Dunstan and...@dunslane.net wrote: On 05/03/2011 02:46 AM, Johann 'Myrkraverk' Oskarsson wrote: When compiling PG with mingw-w64 the PGDLLEXPORT macro is blank. Here is a patch that

Re: [HACKERS] DLL export with mingw-w64: currently a no-op

2011-05-03 Thread Johann 'Myrkraverk' Oskarsson
On Tue, 03 May 2011 12:40:28 -, Andrew Dunstan and...@dunslane.net wrote: Our Makefiles use dlltool and dllwrap to create DLLs. If you used our recommended build method pgxs would do lots of the work for you. I'm not sure why you asked the mingw-w64 team about building a Postgres