Re: [GENERAL] Compiling C function with VC++ for Windows version

2012-01-13 Thread Edwin Quijada
> Date: Fri, 13 Jan 2012 14:44:24 +0800 > From: ring...@ringerc.id.au > To: listas_quij...@hotmail.com; pgsql-general@postgresql.org > Subject: Re: [GENERAL] Compiling C function with VC++ for Windows version > > On 13/01/2012 1:55 AM, Edwin Quijada wrote: > > > >

Re: [GENERAL] Compiling C function with VC++ for Windows version

2012-01-12 Thread Craig Ringer
On 13/01/2012 1:55 AM, Edwin Quijada wrote: Ok. This is the way that I compile. Linux this way works fine and I use the modules compiled. of course, Linux I compile from source and I use gcc. Yep... but Windows isn't Linux. In particular, the distributions of PostgreSQL for Windows are compi

Re: [GENERAL] Compiling C function with VC++ for Windows version

2012-01-12 Thread Edwin Quijada
Date: Thu, 12 Jan 2012 13:45:06 +0800 From: ring...@ringerc.id.au To: listas_quij...@hotmail.com CC: pgsql-general@postgresql.org Subject: Re: [GENERAL] Compiling C function with VC++ for Windows version On 12/01/12 11:06, Edwin Quijada wrote

Re: [GENERAL] Compiling C function with VC++ for Windows version

2012-01-11 Thread Craig Ringer
On 12/01/12 11:06, Edwin Quijada wrote: > Hi! > I am trying to create a C function for windows in Postgres compiling > with VC++ 2008 Express Edition. I did this function for Linux without > problem using gcc and tried to do the same in Windows but in Windows > was imposible. The function compile f

[GENERAL] Compiling C function with VC++ for Windows version

2012-01-11 Thread Edwin Quijada
Hi!I am trying to create a C function for windows in Postgres compiling with VC++ 2008 Express Edition. I did this function for Linux without problem using gcc and tried to do the same in Windows but in Windows was imposible. The function compile fine but when I tried to run from Postgres it do