Re: Compiling 32-bit for opteron - Mailing list pgsql-ports

From Peter Eisentraut
Subject Re: Compiling 32-bit for opteron
Date
Msg-id 200410032217.47766.peter_e@gmx.net
Whole thread Raw
In response to Compiling 32-bit for opteron  ("Paul Fornari" <paul.fornari@invarium.com>)
List pgsql-ports
Paul Fornari wrote:
> I've downloaded the postgresql-7.4.5 source and was able to
> successfully build and install 64-bit optimized and debuggable
> versions; however I'm having problems trying to get the 32-bit built.
> By default it seems to always try to build 64-bit(maybe it triggering
> directly off 'uname' or something). This may be a very basic question
> but does anyone know how to tell make to perform a 32-bit build
> instead of 64-bit?

We would have a much better shot at helping you if you hadn't neglected
to tell us exactly what problem you are having.

In general, PostgreSQL just picks the first compiler it finds and runs
with it.  So you probably want to look into configuring your compiler.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-ports by date:

Previous
From: "Paul Fornari"
Date:
Subject: Compiling 32-bit for opteron
Next
From: Marek Lewczuk
Date:
Subject: postgresql 8.0 and tsearch2 install under cygwin