Re: Compile errors when building 32-bit on 64-bit system - Mailing list pgsql-admin

From Andy Shellam
Subject Re: Compile errors when building 32-bit on 64-bit system
Date
Msg-id 4A51295F.7090104@networkmail.eu
Whole thread Raw
In response to Re: Compile errors when building 32-bit on 64-bit system  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Compile errors when building 32-bit on 64-bit system
List pgsql-admin
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.)  A quick Google revealed setting that
flag in the LD environment variable, which got it a bit further but then
bought up this error.

Everything else compiled fine then, it's just the contrib/spi module.

Andy

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Compile errors when building 32-bit on 64-bit system
Next
From: Tom Lane
Date:
Subject: Re: Compile errors when building 32-bit on 64-bit system