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

Поиск
Список
Период
Сортировка
От Andy Shellam
Тема Re: Compile errors when building 32-bit on 64-bit system
Дата
Msg-id 4A51295F.7090104@networkmail.eu
обсуждение исходный текст
Ответ на Re: Compile errors when building 32-bit on 64-bit system  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Compile errors when building 32-bit on 64-bit system  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom,

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

Nope, I originally had LDFLAGS set to "-m32" instead of LD, and it
failed with another error trying to link the localtime.o object (which
it had compiled as 64-bit) to create SYS-something-or-other.o (which it
was trying to create as 32-bit.)  A quick Google revealed setting that
flag in the LD environment variable, which got it a bit further but then
bought up this error.

Everything else compiled fine then, it's just the contrib/spi module.

Andy

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

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