On 3/27/06, Markus Schöpflin <markus.schoepflin@comsoft.de> wrote:
Attached is a patch which makes the gcc toolset work on Tru64. This is not
meant to be applied directly, just to highlight the changes needed.
There are three issues left:
1) -R does not work, but there is -rpath instead. The ld man page on my
Linux box seems to indicate that -rpath should really be used, as this is
more widely available with ELF linkers.
Index: gcc.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/gcc.jam,v
retrieving revision 1.63
diff -u -w -r1.63 gcc.jam
--- gcc.jam 10 Mar 2006 13:38:40 -0000 1.63
+++ gcc.jam 27 Mar 2006 11:24:57 -0000
@@ -319,7 +317,7 @@
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)
}