Boost logo

Boost Testing :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-29 06:27:21


Caleb Epstein wrote:

>> actions link bind LIBRARIES
>> {
>> - "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,-R$(SPACE)-Wl,"$(RPATH)"
>> -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<)" "$(>)"
>> "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(OPTIONS)
>> $(USER_OPTIONS)
>> + "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,-rpath$(SPACE)-Wl,"$(RPATH)"
>> -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA)
>> $(OPTIONS) $(USER_OPTIONS)
>> }
>
>
> This would break on Solaris when using Sun's linker, which supports -R but
> not -rpath. Perhaps the correct value for the "-R/-rpath" flag can be
> made
> a property of the linker? There is already some special case code in
> init-link-flags for different linker types and perhaps this logic could be
> placed there.

Given that there's no -rpath on Sun, and no -R on OSF, we need some
conditional logic indeed. Working on it now.

- Volodya


Boost-testing list run by mbergal at meta-comm.com