X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1F2D4D1B351 for ; Mon, 31 May 2004 14:58:24 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 52850-09 for ; Mon, 31 May 2004 14:58:23 -0300 (ADT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id D486ED1B289 for ; Mon, 31 May 2004 14:58:21 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i4VHwM205522; Mon, 31 May 2004 13:58:22 -0400 (EDT) From: Bruce Momjian Message-Id: <200405311758.i4VHwM205522@candle.pha.pa.us> Subject: Re: libpq and Mac OS X In-Reply-To: <40BB6F46.60507@lausd.k12.ca.us> To: "L. S." Date: Mon, 31 May 2004 13:58:22 -0400 (EDT) Cc: pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/34 X-Sequence-Number: 4926 L. S. wrote: > Is it possible to link C apps with libpq under OS X? > I've seen discussion of it in the archives, but there seems to be no > solution. > > Since my last Powerbook G3 died (which had wide OS support), my new 2004 > Powerbook G4, which only accepts OS X well* is what I have as my > portable development environment. Certainly it can be done. All the PostgreSQL client apps use libpq, so you can look at the compile line used by psql or pg_dump. We are working on making it easier in 7.5. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073