Re: help: cross compiling PG7.4.1 on IA64 from IA32 - Mailing list pgsql-ports

From Tom Lane
Subject Re: help: cross compiling PG7.4.1 on IA64 from IA32
Date
Msg-id 20152.1080053438@sss.pgh.pa.us
Whole thread Raw
In response to Re: help: cross compiling PG7.4.1 on IA64 from IA32  ("Andrew Hall" <temp02@bluereef.com.au>)
List pgsql-ports
"Andrew Hall" <temp02@bluereef.com.au> writes:
> Yep, PG 7.4.1 installs fine on a native IA64 box, but not when cross
> compiling on a IA32 box for IA64. Regardless of what I do, PG always seem to
> want to link libpthread from /lib (which is the IA32 version) and ignores
> the LDFLAGS directive pointing it at /usr/local/ia64-linux/lib. I'm
> suspecting this is hardcoded somewhere in the GCC environment because even
> when I explicitly tell it to link to the IA64 lib, it completely ignores it.

I asked about cross-compiling inside Red Hat and was told:

: this can only work if you build a cross compile toolchain; it
: doesn't look like he did that. (note we don't ship nor support such a
: thing).

So my guess is there's something wrong with your cross-compilation
setup.  What exactly is wrong is beyond my field of expertise ...
you might try asking some gcc-oriented mailing list.

            regards, tom lane

pgsql-ports by date:

Previous
From: "Andrew Hall"
Date:
Subject: Re: help: cross compiling PG7.4.1 on IA64 from IA32
Next
From: raymond.siebert@mobilcom.de
Date:
Subject: Buggy make files for Solaris 9 64bit builds: version 7.4.1 and 7.4.2