Re: Solaris compile problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Solaris compile problem
Дата
Msg-id 20497.960268838@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Solaris compile problem  (Karl DeBisschop <kdebisschop@h00a0cc3b7988.ne.mediaone.net>)
Список pgsql-bugs
Karl DeBisschop <kdebisschop@h00a0cc3b7988.ne.mediaone.net> writes:
>> Can you say if libpq++ *ever* built on that platform?  I'm guessing
>> that Solaris needs the same sort of hack that is present in libpq++'s
>> Makefile for irix5, ie set AR and LD to $(CXX).  But if I'm right
>> then it'd never have worked...

> it did work in 6.4.2

OK, that's a useful datapoint.

> and ld does work in other parts of the make - it only fails in this one
> place.

Sure.  I think the problem likely is that the stock "ld" on Solaris only
copes with C object files and not C++ object files.  This only shows up
for libpq++ because we have no other C++ code in the distribution.

However, as far as I can tell from a quick scan through the CVS server,
6.4.* should've tried to use "ld" for libpq++ too.  Could you rebuild
6.4.2 and see what the difference is in the build commands it uses?

            regards, tom lane

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

Предыдущее
От: Karl DeBisschop
Дата:
Сообщение: Re: Solaris compile problem
Следующее
От: Karl DeBisschop
Дата:
Сообщение: Re: Solaris compile problem