"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