Re: fixing Makefile.shlib for solaris/gcc with -m64 flag

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fixing Makefile.shlib for solaris/gcc with -m64 flag
Дата
Msg-id 11524.1169050373@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fixing Makefile.shlib for solaris/gcc with -m64 flag  ("Jignesh K. Shah" <J.K.Shah@Sun.COM>)
Ответы Re: fixing Makefile.shlib for solaris/gcc with -m64 flag  (Peter Eisentraut <peter_e@gmx.net>)
Re: fixing Makefile.shlib for solaris/gcc with -m64 flag  ("Jignesh K. Shah" <J.K.Shah@Sun.COM>)
Список pgsql-hackers
"Jignesh K. Shah" <J.K.Shah@Sun.COM> writes:
> simple if I use -m64 for 64 bit then all end binaries are generated 64-bit and the shared libraries 
> are generated 32-bit and the compilation fails (ONLY ON SOLARIS) since that particular line is only 
> for the condition Solaris AND gcc.

> If I use the COMPILER which is CC + CFLAGS it passes -m64 properly to it and generates shared 
> libraries 64-bit and the compile continues..

Hmm ... I see we're doing it that way already for some other platforms,
but I can't help thinking it's a kluge.  Wouldn't the correct answer be
that -m64 needs to be in LDFLAGS?
        regards, tom lane


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

Предыдущее
От: "Jignesh K. Shah"
Дата:
Сообщение: Re: fixing Makefile.shlib for solaris/gcc with -m64 flag
Следующее
От: Neil Conway
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Implement width_bucket() for the