Re: Link requirements creep

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Link requirements creep
Дата
Msg-id 482F801F.5010308@dunslane.net
обсуждение исходный текст
Ответ на Re: Link requirements creep  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Link requirements creep  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
>
>> 1. Use  -Wl,--as-needed as linker flag.  Portability unknown...
>>    Can be autoconfed.
>>     
>
> This might actually be the best solution.  OS X has a similar disease
> but some trolling of the ld man page suggests that -dead_strip_dylibs
> might work there.  Taking this path would amount to assuming that all
> linkers we care about either have an equivalent switch or don't link
> unrequired libraries in the first place.
>
>
>   

Didn't we run into problems with this before?

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Link requirements creep
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Link requirements creep