> -----Original Message-----
> From: Magnus Hagander [mailto:mha(at)sollentuna(dot)net]
> Sent: 22 January 2001 12:33
> To: 'Dave Page'; 'pgsql-interfaces(at)postgresql(dot)org'
> Subject: RE: [INTERFACES] Building psql.exe, libpq.dll & libpq.lib
> (7.1Bet a3)
> > > Please try it with the patch that I just posted to the
> > > hackers list. Note
> > > that the problem with psql.exe is not fixed yet, though.
> > >
> > Thanks, I'll try it. The problem you mention with psql - is
> > that where it
> > crashes when it redisplays the prompt after a query or <cr>?
> Yup, that's the one. Andreas Zeugswetter had an idea to fix
> that one as well
> by adding "/MD" to the linker flags. Haven't tried it yet, though.
Both problems solved! I did have to tweek a couple of things though:
fnctl.h seems to be called fcntl.h on my Visual Studio installation (I
assume they're the same file - it didn't complain after I copied one to the
The VC compiler didn't like the use of PG_VERSION in lines 607 & 629 in
src/bin/psql/startup.c - a quick hardcode of the version number cured this.
And, yes I know both of those fixes are a million miles from fixing it
properly but I'm only toying with an idea here!
BTW: I'm working with beta3 not the snapshot that I assume you are using.
pgsql-interfaces by date
|Next:||From: Nicholas Chan||Date: 2001-01-22 14:26:17|
|Subject: Re: extremely newbie questions|
|Previous:||From: Dave Page||Date: 2001-01-22 12:46:51|
|Subject: RE: Building psql.exe, libpq.dll & libpq.lib (7.1Bet a3)|