Re: [HACKERS] Compiling UDF DLL under Win32

2006-02-10 Thread anonymus.crux
hm, I'm still stuck: can't compile extension with mingw compiler. I use Dev-CPP IDE (4.9.9.2) with MingW 3.7. Has it been tested to compile extensions under XP with PostgresQL 8.1.2 ? Al I get are compiler errors: gcc.exe -c fd.c -o fd.o -I"C:/Dev-Cpp/include" -I"D:/.Work/postgresql/postgresql

[HACKERS] Compiling UDF DLL under Win32

2006-02-07 Thread anonymus.crux
Hi! I was wondering if I can use VC compiler to compile UDF DLL ? If yes then I am wondering why I am getting linking errors: Compiling... fd.c Linking... Creating library Debug/fd.lib and object Debug/fd.exp fd.obj : error LNK2001: unresolved external symbol _CurrentMemoryContext Debug/fd.dll