Skip site navigation (1) Skip section navigation (2)

Compiling libpq with VisualC

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Compiling libpq with VisualC
Date: 2004-05-28 12:00:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
Some modifications are needed to compile libpq with vc6:

- pg_config_paths.h isn't available. SYSCONFDIR is already defined so 
fe-connect.c doesn't need to include that.
patch appended

- pg_config.h must be generated
- port/pgstrcasecmp.c is needed
- port/path.c is not needed
- the current cvs version includes some bogus cr characters, when 
checking out with wincvs the file will contain several cr cr lf lines 
which will confuse nmake.

Because the last problem might be difficult to handle as diff, I 
attached win32.mak as complete file, with all cr stripped so it may be 
committed safely with any cvs client.


Attachment: fe-connect.c.diff
Description: text/plain (499 bytes)
Attachment: WIN32.MAK
Description: text/plain (5.4 KB)


pgsql-hackers by date

Next:From: Oleg BartunovDate: 2004-05-28 12:24:31
Subject: yet another contrib module
Previous:From: Gaetano MendolaDate: 2004-05-28 11:35:10
Subject: Re: tablespaces and DB administration

pgsql-patches by date

Next:From: Thomas HallgrenDate: 2004-05-28 13:19:50
Subject: Re: Link errors on win32
Previous:From: Andreas PflugDate: 2004-05-28 11:44:45
Subject: thread safety testing fix

pgsql-hackers-win32 by date

Next:From: efesar (the kay)Date: 2004-05-28 14:49:43
Subject: Re: [pgsql-advocacy] win32 port getting popular
Previous:From: Andrew DunstanDate: 2004-05-28 11:04:05
Subject: Re: Re : Win32 binaries test / pg_dump problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group