Re: [HACKERS] MinGW/Cygwin build snags

2014-06-08 Thread Noah Misch
On Sun, Jun 08, 2014 at 06:04:46PM -0400, Tom Lane wrote: > Noah Misch writes: > > Since src/makefiles/Makefile.win32 does not set BUILDING_DLL for src/port, > > PGDLLIMPORT is set improperly for code to be linked directly into the > > backend. > > Makefile.win32 does set BUILDING_DLL for src/com

Re: [HACKERS] MinGW/Cygwin build snags

2014-06-08 Thread Tom Lane
Noah Misch writes: > First, when I tried to add an Assert() call to a file in src/port, a MinGW-w64 > build failed like this: > Creating library file: libpostgres.a > ../../src/port/libpgport_srv.a(fls_srv.o): In function `fls': > /home/nm/src/pg/mingw-postgresql/src/port/fls.c:63: undefined refe