From: Mark Morgan Lloyd <markMLl.pgsql-interfaces@telemetry.co.uk>
To: pgsql-interfaces@PostgreSQL.org
Subject: Building psql.exe using the free Borland compiler
Date: Fri, 17 Mar 2006 19:06:48 +0000
Message-ID: <441B08C8.857148BC@telemetry.co.uk> (raw)
Has anybody succeeded in building psql from 8.1.3 using bcc55? I've got
everything going OK up to the final link stage at which point I get
ilink32.exe @MAKE0000.@@@
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_pclose' referenced from
C:\USR\SRC\POSTGRES\POSTGRESQL-8.1.3\SRC\BIN\PSQL\RELEASE\EXEC.OBJ
with a similar error for _popen. I'm using a source tree which has compiled OK
under Linux to save the hassle of making sure I have a working perl/flex on the
Windows system, have made sure that it's using pg_config.h.win32, and can see
blibpq.dll being rebuilt. I've got an ilink32.cfg file containing
-L"c:\usr\local\Bcc55\lib" where this directory contains cw32mti.lib etc.
Apologies if this is a really dumb question. I don't /do/ C/C++ on Windows, I'm
much more a bare-metal guy who does Delphi and Perl when he needs high-level.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: markMLl.pgsql-interfaces@telemetry.co.uk
Subject: Re: Building psql.exe using the free Borland compiler
In-Reply-To: <441B08C8.857148BC@telemetry.co.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox