Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group