Re: Compile errors when building 32-bit on 64-bit system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andy Shellam <andy-lists@xxxxxxxxxxxxxx> 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

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux