Re: help: cross compiling PG7.4.1 on IA64 from IA32

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Hall" <temp02(at)bluereef(dot)com(dot)au>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: help: cross compiling PG7.4.1 on IA64 from IA32
Date: 2004-03-23 14:50:38
Message-ID: 20152.1080053438@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

"Andrew Hall" <temp02(at)bluereef(dot)com(dot)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

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message raymond.siebert 2004-03-23 16:33:58 Buggy make files for Solaris 9 64bit builds: version 7.4.1 and 7.4.2
Previous Message Andrew Hall 2004-03-23 07:09:26 Re: help: cross compiling PG7.4.1 on IA64 from IA32