Vladimir Prus
0ec36774c0
Move 'OPTION' to the end of link action for unix toolset.
...
In particular, this allows to explicitly link statically to some
libs, using <linkflags> feature. In static libs are specified at
the beginning of the command line, we'll just get link errors.
[SVN r25548]
2004-10-04 07:29:49 +00:00
Vladimir Prus
695e1c4691
* build/generators.jam: (select-alternative): Use string comparison
...
of virtual targets, not the deep one with the 'str' method. The latter is
very slow
* tools/gcc.jam: Don't declare gcc.link and gcc.link.dll generators, as
they are already inherited from unix.jam. If we declare them, then for
each targets, the whole generation process is run twice. As result,
select-alternative is called for each target, and due to sloweness of
'str' the performance is horrible.
The net result is that running time on one testcase is down from 1580 secs
to less than 10.
[SVN r25512]
2004-10-01 14:59:14 +00:00
Vladimir Prus
c18205e2a9
Update msvc for the recent generators changes.
...
[SVN r25371]
2004-09-23 10:51:51 +00:00
Vladimir Prus
bf6ef576df
Borland toolset no longer crashes in bcc32 binary is not found.
...
[SVN r25370]
2004-09-23 10:50:49 +00:00
Vladimir Prus
3265b13893
Don't try setting soname on NT. Current binutils seem to ignore the
...
option, but older report errors.
[SVN r25335]
2004-09-22 11:26:59 +00:00
Vladimir Prus
b18b2c6e0f
Don't use -fPIC on windows.
...
[SVN r25304]
2004-09-21 13:40:38 +00:00
Vladimir Prus
517d81e4bd
Don't use -Wl,-Bdynamic and don't duplicate libraries.
...
[SVN r25296]
2004-09-21 11:43:58 +00:00
Vladimir Prus
0063e9878a
Revert the previous behaviour of unit-test: it does not store output into
...
a file but shows it on the screen. However, the proper setting of run
paths is not done for unit-test too.
[SVN r25035]
2004-09-13 09:32:37 +00:00
Vladimir Prus
8ba8f4eac4
Fix typo
...
[SVN r25031]
2004-09-13 08:50:11 +00:00
Vladimir Prus
941aedae1f
Add some more :W modifiers, so that running msvc from cygwin is possible.
...
[SVN r25009]
2004-09-10 13:26:00 +00:00
Vladimir Prus
deb051b849
Don't use -fPIC on CYGWIN.
...
[SVN r25007]
2004-09-10 13:17:46 +00:00
Vladimir Prus
3ca657177f
Supress warnings from the 'ar' tool emitted on some platfroms when the
...
archive is created the first time.
[SVN r25005]
2004-09-10 12:48:18 +00:00
Vladimir Prus
d0cd12f7c5
Handle xdll-path property for sun, so that linker can find all
...
libraries in a chain. E.g. in app -> a.so -> b.so, we need to pass
the path to b.so to the linker so that it can verify that all symbols
asked by 'app' and 'b.so' are present.
[SVN r25003]
2004-09-10 12:33:42 +00:00
Vladimir Prus
64555a648f
Allow specifying compiler and linker flags when intializing toolset.
...
[SVN r24972]
2004-09-08 14:33:04 +00:00
Vladimir Prus
0bc691b583
Pass -fPIC when compiling shared libraries. This is more or less "standard"
...
behaviour, so let's use it. In addition, not using -fPIC creates errors on
x86_64.
[SVN r24955]
2004-09-07 11:57:22 +00:00
Vladimir Prus
21277abf83
Don't error out when 'PATH', 'Path', or 'path' has empty elements.
...
[SVN r24889]
2004-09-03 11:20:51 +00:00
Toon Knapen
308fb8b093
multi-threading and single-threading capable
...
[SVN r24759]
2004-08-26 14:47:29 +00:00
Toon Knapen
7d611314dc
IBM/VisualAge toolset
...
[SVN r24751]
2004-08-26 12:30:04 +00:00
Vladimir Prus
50fe9b46b3
Fixes. Restore the check for file existance for NT/achive. Remove conditional
...
setting of .cygpath variable, since it's not used anywhere.
[SVN r24738]
2004-08-26 08:21:24 +00:00
Vladimir Prus
b4b665cf1b
Fix msvc on cygwin.
...
Patch from Michael Stevens.
[SVN r24702]
2004-08-24 09:10:00 +00:00
Vladimir Prus
b23ee8e6d3
Record proper order dependencies even for seached libraries, to automatically
...
compute the right order on the link line.
[SVN r24700]
2004-08-24 08:25:43 +00:00
Vladimir Prus
2b8b5f4297
Do not crash or error out when BoostBook XSL or DTD files can't be
...
found, just emit a warning. This is consistent with other toolset, which
try to never crash.
[SVN r24667]
2004-08-23 12:53:14 +00:00
Vladimir Prus
05f8783fb2
Fix the <link-runtime>static property on gcc.
...
[SVN r24665]
2004-08-23 12:40:23 +00:00
Vladimir Prus
e33e2b411f
Remove bashism -- "export VAR=value" is not supported on other shells.
...
Patch from Philipp Frauenfelder.
[SVN r23951]
2004-07-22 12:55:27 +00:00
Vladimir Prus
4d0f6b6662
Fix Sun toolset so that we invoke cc for C files, not CC. Unfortunately
...
the compiler does not have a switch to change the source language, so we
take the command and replace the filename in the last element with 'cc'.
[SVN r23539]
2004-07-14 11:05:19 +00:00
Vladimir Prus
b55e4615bd
Correct copy-paste error. Patch from Juergen Hunold.
...
[SVN r23500]
2004-07-13 15:27:11 +00:00
Vladimir Prus
c2e5d0ddf4
Added Metrowerks toolset, from Reece Dunn.
...
[SVN r23467]
2004-07-12 15:13:14 +00:00
Vladimir Prus
f7c3c9c716
Don't duplicate the searched libraries, now that we have ordering
...
working for them.
[SVN r23391]
2004-07-07 10:29:30 +00:00
Vladimir Prus
04cf0e5cc5
Missing import.
...
[SVN r23389]
2004-07-07 07:10:26 +00:00
Vladimir Prus
f9b602480d
More fixes to common.find-path for case the 'path-last' is true.
...
[SVN r23388]
2004-07-07 07:03:32 +00:00
Vladimir Prus
e3ae4eb059
Fix typo
...
[SVN r23370]
2004-07-06 13:33:45 +00:00
Vladimir Prus
8859a3a9b3
Use EHsc option instead of GX. Don't add Og and GX options on 8.0.
...
[SVN r23364]
2004-07-06 07:50:58 +00:00
Vladimir Prus
1911daa129
Fix msvc initialization. When version is specified, look in default paths
...
before looking in PATH.
[SVN r23363]
2004-07-06 07:36:26 +00:00
Douglas Gregor
288a60a94b
boostbook/xsl/doxygen/doxygen2boostbook.xsl:
...
- XSL stylesheet parameter boost.doxygen.reftitle sets the title of the
generated library-reference element.
build/v2/tools/doxygen.jam:
- Free feature "reftitle" sets the title of the generated library-reference
element.
[SVN r23332]
2004-07-04 00:15:08 +00:00
Vladimir Prus
1e560a18e0
Add <toolset>msvc as optional property for msvc.compile* generators,
...
otherwise, only RC->OBJ is tried when OBJ target is needed.
[SVN r23279]
2004-06-30 06:15:49 +00:00
Vladimir Prus
8c7ea9b330
Remove unused var
...
[SVN r23260]
2004-06-29 11:15:02 +00:00
Vladimir Prus
0cc7f5aafc
Improve warning message.
...
[SVN r23259]
2004-06-29 11:09:40 +00:00
Vladimir Prus
62c8a3d5d4
Allow a simple [ lib a b c ] syntax for declaring searched libraries.
...
[SVN r23254]
2004-06-29 10:23:27 +00:00
Vladimir Prus
d18f9e9a15
Experimental fix to make ordering of searched libraries work.
...
The order is preserved by making properties of the form
<find-static-library>lib1&&lib2&&lib3 and then adding "lib1", "lib2",
"lib3" in the right order.
[SVN r23251]
2004-06-29 08:13:29 +00:00
Vladimir Prus
818df151c7
Revive getttext.jam.
...
[SVN r23250]
2004-06-29 08:11:10 +00:00
Vladimir Prus
b9d2d0c3d4
Fix up RC files support. Now both msvc and non-msvc toolset can be used
...
together.
* tools/rc.jam: Move a lot of staff from tools/msvc.jam
* tools/msvc.jam: Change RC->OBJ generator into RC->RES and add
optional property for this generator, so that it's not used on
other toolsets.
* build/generators.jam
(generator.__init__, register-standard): Accept 'optional-properties'
parameter.
[SVN r23247]
2004-06-29 06:47:00 +00:00
Vladimir Prus
5626978bc2
Allow each toolset to accept multielement command. Each element will be
...
individually quoted, and check-for-existance will be applied only to
the first element.
[SVN r23246]
2004-06-29 06:21:21 +00:00
Vladimir Prus
e4d86166f9
Beef up 'init'
...
[SVN r23167]
2004-06-23 09:12:43 +00:00
Vladimir Prus
1e6096c1a2
New msvc.init.
...
[SVN r23166]
2004-06-23 09:07:02 +00:00
Vladimir Prus
42c6918bcf
Use common.get-invocation-command
...
[SVN r23165]
2004-06-23 08:18:05 +00:00
Vladimir Prus
1e3026178c
* tools/borland.jam (init): Rewrite.
...
* tools/common.jam (get-absolute-tool-path): New rule.
[SVN r23164]
2004-06-23 08:10:25 +00:00
Vladimir Prus
60b2b9622e
Make gcc init parameters consistent with other toolsets. Now one needs:
...
using gcc : 3.3 : g++-3.3 ;
not
using gcc : 3.3 g++-3.3 ;
Also fix a typo.
[SVN r23140]
2004-06-21 11:01:45 +00:00
Vladimir Prus
1d9874190d
Add more std comformance options for intel when not in vc-compatible mode.
...
The options were contributed by Jurgen.
[SVN r23139]
2004-06-21 10:56:32 +00:00
Vladimir Prus
278c67add8
Improve initialization of intel and sun compilers.
...
[SVN r23138]
2004-06-21 10:52:11 +00:00
Vladimir Prus
7456dda199
Make verson parameter to intel-linux.init optional. New rules common.find-tool
...
and common.check-tool to help autodetect toolsets.
[SVN r23136]
2004-06-21 09:48:39 +00:00