X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1785C9DCC0F for ; Fri, 17 Mar 2006 15:06:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48940-05 for ; Fri, 17 Mar 2006 15:06:58 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 461EC9DCBCC for ; Fri, 17 Mar 2006 15:06:56 -0400 (AST) Received: from pye-srv-01.telemetry.co.uk (kdgmtbu.demon.co.uk [194.222.45.178]) by svr4.postgresql.org (Postfix) with ESMTP id A16F65AF839 for ; Fri, 17 Mar 2006 19:06:55 +0000 (GMT) Received: from pye-srv-01.telemetry.co.uk (IDENT:2@localhost [127.0.0.1]) by pye-srv-01.telemetry.co.uk (8.12.4/8.12.4) with ESMTP id k2HJ6nkY017447 for ; Fri, 17 Mar 2006 19:06:49 GMT Received: (from daemon@localhost) by pye-srv-01.telemetry.co.uk (8.12.4/8.12.4/Submit) id k2HJ6nOE017446; Fri, 17 Mar 2006 19:06:49 GMT From: Mark Morgan Lloyd Subject: Building psql.exe using the free Borland compiler Date: Fri, 17 Mar 2006 19:06:48 +0000 Organization: KDG Telemetry Message-ID: <441B08C8.857148BC@telemetry.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: pgsql-interfaces@PostgreSQL.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200603/22 X-Sequence-Number: 6078 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]