Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group