Re: Compile errors when building 32-bit on 64-bit system

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compile errors when building 32-bit on 64-bit system
Дата
Msg-id 13761.1246832599@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Compile errors when building 32-bit on 64-bit system  (Andy Shellam <andy-lists@networkmail.eu>)
Ответы Re: Compile errors when building 32-bit on 64-bit system  (Andy Shellam <andy-lists@networkmail.eu>)
Список pgsql-admin
Andy Shellam <andy-lists@networkmail.eu> writes:
> I was going to post this to pgsql-hackers but figured it might be more
> suitable on this list first.  I'm trying to compile a 32-bit PostgreSQL
> client on a 64-bit system, however the SPI module is not respecting the
> CFLAGS and LDFLAGS option "-m32."

> My configure line is as follows:

> CFLAGS="-m32" LD="ld -m32 -melf_i386" ./configure

Doubtless, your problem is that you're setting LD not LDFLAGS.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Andy Shellam
Дата:
Сообщение: Compile errors when building 32-bit on 64-bit system
Следующее
От: Andy Shellam
Дата:
Сообщение: Re: Compile errors when building 32-bit on 64-bit system