From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andy Shellam <andy-lists(at)networkmail(dot)eu> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Compile errors when building 32-bit on 64-bit system |
Date: | 2009-07-05 22:34:25 |
Message-ID: | 13926.1246833265@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Andy Shellam <andy-lists(at)networkmail(dot)eu> writes:
> Tom,
>> Doubtless, your problem is that you're setting LD not LDFLAGS.
> Nope, I originally had LDFLAGS set to "-m32" instead of LD, and it
> failed with another error trying to link the localtime.o object (which
> it had compiled as 64-bit) to create SYS-something-or-other.o (which it
> was trying to create as 32-bit.)
That sounds like you hadn't yet figured out to set CFLAGS too.
> A quick Google revealed setting that
> flag in the LD environment variable, which got it a bit further but then
> bought up this error.
Google or no Google, you're setting the wrong variable.
You might possibly have better luck using 8.4 for this, as we got rid of
the intermediate SUBSYS.o files, which tend to confuse matters in a
multiarch environment.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Shellam | 2009-07-05 22:38:10 | Re: Compile errors when building 32-bit on 64-bit system |
Previous Message | Andy Shellam | 2009-07-05 22:29:51 | Re: Compile errors when building 32-bit on 64-bit system |