diff -ur boost_1_53_0/boostcpp.jam boost_1_53_0.2/boostcpp.jam
old
|
new
|
|
152 | 152 | # libFoo.1.2.3.dylib format. AIX linkers do not accept version suffixes |
153 | 153 | # either. Pgi compilers can not accept a library with version suffix. |
154 | 154 | if $(type) = SHARED_LIB && |
155 | | ! [ $(property-set).get <target-os> ] in windows cygwin darwin aix && |
156 | | ! [ $(property-set).get <toolset> ] in pgi |
| 155 | ! [ $(property-set).get <target-os> ] in windows cygwin darwin aix |
157 | 156 | { |
158 | 157 | result = $(result).$(BOOST_VERSION) ; |
159 | 158 | } |
diff -ur boost_1_53_0/tools/build/v2/tools/pgi.jam boost_1_53_0.2/tools/build/v2/tools/pgi.jam
old
|
new
|
|
16 | 16 | feature.extend toolset : pgi ; |
17 | 17 | toolset.inherit pgi : unix ; |
18 | 18 | generators.override pgi.prebuilt : builtin.lib-generator ; |
| 19 | generators.override pgi.prebuilt : builtin.prebuilt ; |
19 | 20 | generators.override pgi.searched-lib-generator : searched-lib-generator ; |
20 | 21 | |
21 | 22 | # Documentation and toolchain description located |
… |
… |
|
117 | 118 | SPACE on $(targets) = " " ; |
118 | 119 | } |
119 | 120 | |
120 | | # reddish can only link statically and, somehow, the presence of -Bdynamic on the link line |
| 121 | # reddish can only link statically and, somehow, the presence of -Wl,-Bdynamic on the link line |
121 | 122 | # marks the executable as a dynamically linked exec even though no dynamic libraries are supplied. |
122 | 123 | # Yod on redstorm refuses to load an executable that is dynamically linked. |
123 | 124 | # removing the dynamic link options should get us where we need to be on redstorm. |
124 | | # "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -Bdynamic -l$(FINDLIBS-SA) -Bstatic -l$(FINDLIBS-ST) -B$(LINK-RUNTIME) |
| 125 | # "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -Wl,-Bdynamic -l$(FINDLIBS-SA) -Wl,-Bstatic -l$(FINDLIBS-ST) -Wl,-B$(LINK-RUNTIME) |
125 | 126 | actions link bind LIBRARIES |
126 | 127 | { |
127 | | "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -Bstatic -l$(FINDLIBS-ST) -Bdynamic -l$(FINDLIBS-SA) -B$(LINK-RUNTIME) |
| 128 | "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -Wl,-Bstatic -l$(FINDLIBS-ST) -Wl,-Bdynamic -l$(FINDLIBS-SA) -Wl,-B$(LINK-RUNTIME) |
128 | 129 | } |
129 | 130 | |
130 | 131 | # Slight mods for dlls |
… |
… |
|
133 | 134 | SPACE on $(targets) = " " ; |
134 | 135 | } |
135 | 136 | |
136 | | # "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" -h$(<[1]:D=) -G "$(>)" "$(LIBRARIES)" -Bdynamic -l$(FINDLIBS-SA) -Bstatic -l$(FINDLIBS-ST) -B$(LINK-RUNTIME) |
| 137 | # "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" -h$(<[1]:D=) -G "$(>)" "$(LIBRARIES)" -Wl,-Bdynamic -l$(FINDLIBS-SA) -Wl,-Bstatic -l$(FINDLIBS-ST) -Wl,-B$(LINK-RUNTIME) |
137 | 138 | |
138 | 139 | actions link.dll bind LIBRARIES |
139 | 140 | { |
140 | | "$(CONFIG_COMMAND)" $(OPTIONS) -shared -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" "$(>)" -Wl,-h -Wl,$(<[1]:D=) "$(LIBRARIES)" -Bdynamic -l$(FINDLIBS-SA) -Bstatic -l$(FINDLIBS-ST) -B$(LINK-RUNTIME) |
| 141 | "$(CONFIG_COMMAND)" $(OPTIONS) -shared -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<[-1])" "$(>)" -Wl,-h -Wl,$(<[1]:D=) "$(LIBRARIES)" -Wl,-Bdynamic -l$(FINDLIBS-SA) -Wl,-Bstatic -l$(FINDLIBS-ST) -Wl,-B$(LINK-RUNTIME) |
141 | 142 | } |
142 | 143 | |
143 | 144 | actions updated together piecemeal pgi.archive |