pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: OpenMacNews <OpenMacNews@speakeasy.net>
To: pgsql-ports@postgresql.org
Subject: portable binary/pkg building on OSX ...
Date: Fri, 30 Sep 2005 12:11:38 -0700
Message-ID: <C429F6C41AD12055A4ECEF3D@tiedgar> (raw)

hi all,

i've been happily building runing ver's of pgsql (current 81b2) on my OSX 
10.4.2 on G4 boxes.

to date, always linked/built to my /usr/local dev tree of libs, headers, etc.

now, i'd like to build once, pkg and deploy to other boxes.  admittedly, 
dylibs/libtool/etc which have been standard fare in my per-box builds, now have 
me a mite concerned/confused.

soooo, a couple of Q's b4 i begin appropriate 'thrashing':

(1) to build STATIC pgsql* binaries, with NO external lib dependencies, is 
'--disable-rpath' necessary/sufficient?
iiuc '--disable-shared' simply defines whether/not the dylibs are built, but is 
irrelevant to the bins ...

(2) i've not (yet) tried static bins on different OSX ver deployment targets 
(10.4.x, 10.3.x, etc.) and/or different CPUs (G3/G4/G5).

how portable *are* built pgsql bins?  cross-compile across 
platforms/cpu-families/OS's is clear, but do i need to worry abt it for OSX 
ver/cpu variants?

thx,

richard

Message-ID: <C429F6C41AD12055A4ECEF3D@tiedgar>
Permalink:  ../C429F6C41AD12055A4ECEF3D@tiedgar/
Also on:    postgresql.org/message-id/C429F6C41AD12055A4ECEF3D@tiedgar

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-ports@postgresql.org
  Cc: OpenMacNews@speakeasy.net
  Subject: Re: portable binary/pkg building on OSX ...
  In-Reply-To: <C429F6C41AD12055A4ECEF3D@tiedgar>
  References: <C429F6C41AD12055A4ECEF3D@tiedgar>

* 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