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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: help: cross compiling PG7.4.1 on IA64 from IA32
Дата
Msg-id 20152.1080053438@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: help: cross compiling PG7.4.1 on IA64 from IA32  ("Andrew Hall" <temp02@bluereef.com.au>)
Список 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 по дате отправления:

Предыдущее
От: "Andrew Hall"
Дата:
Сообщение: Re: help: cross compiling PG7.4.1 on IA64 from IA32
Следующее
От: raymond.siebert@mobilcom.de
Дата:
Сообщение: Buggy make files for Solaris 9 64bit builds: version 7.4.1 and 7.4.2