Re: BUG #5251: compilation fails in 32-bit mode

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Jyrki Wahlstedt <jyrki(dot)wahlstedt(at)wahlstedt(dot)fi>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5251: compilation fails in 32-bit mode
Date: 2009-12-21 13:54:02
Message-ID: 407d949e0912210554p61462c09n85ae25f4195359d6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Dec 20, 2009 at 1:12 PM, Jyrki Wahlstedt
<jyrki(dot)wahlstedt(at)wahlstedt(dot)fi> wrote:
> Trying to make a universal build leads to following:
> /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -arch i386 -Wall
>

I'm not sure where you've gone wrong but I know others facing the same
problem have found that they need to run configure twice, once for
each architecture and make sure to use the right Makefile parameters
and the right configure.h for each build. Isn't x86_64 for a 64-bit
architecture?

--
greg

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Page 2009-12-21 14:07:02 Re: BUG #5251: compilation fails in 32-bit mode
Previous Message Greg Stark 2009-12-21 13:50:35 Re: OutOfMemory hibernate scroll with 2M records | Postgresql 8.4 DB