Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
f640461e45 Fix toolset.flags so that it's possible to specify both condition and
a feature:

  flags gcc.link RPATH_LINK <toolset>gcc-3.3 : <xdll-path> ;

Previously, we could either specify condition or <xdll-path>.

Also, kill support for 'prepare-target' in toolset module, since it's not
used.


[SVN r25802]
2004-10-20 11:53:23 +00:00
Vladimir Prus
e720b6f31c Update docs: features and the toolset options
[SVN r25801]
2004-10-20 11:51:19 +00:00
Vladimir Prus
311f123251 Update docs: features and the toolset options
[SVN r25801]
2004-10-20 11:51:19 +00:00
Rene Rivera
3425be7fe8 Apply patches from Patrick Mauritz, with some changes, to account for DragonFly, a FreeBSD variant.
[SVN r25782]
2004-10-19 15:12:59 +00:00
Rene Rivera
74e63d39f7 Apply patches from Patrick Mauritz, with some changes, to account for DragonFly, a FreeBSD variant.
[SVN r25782]
2004-10-19 15:12:59 +00:00
Markus Schöpflin
d3c4f7f513 Added support for GCC on Tru64.
[SVN r25781]
2004-10-19 12:13:08 +00:00
Vladimir Prus
86b65da2bb Fix <xdll-path> on Solaris linker.
Patch from Andre Hentz.


[SVN r25780]
2004-10-19 06:26:45 +00:00
Vladimir Prus
84f8d8f3aa Fix <xdll-path> on Solaris linker.
Patch from Andre Hentz.


[SVN r25780]
2004-10-19 06:26:45 +00:00
Vladimir Prus
dd05bc1ed5 Added history
[SVN r25770]
2004-10-18 11:17:15 +00:00
Vladimir Prus
f5caba7873 Added history
[SVN r25770]
2004-10-18 11:17:15 +00:00
Vladimir Prus
9f07c0dc2c Handle the <library> property in the linking-generator, not in
lib-target-class and exe-target-class. This makes the 'unit-test' rule
work with <library>.


[SVN r25768]
2004-10-18 10:10:36 +00:00
Vladimir Prus
543fb2d180 Handle the <library> property in the linking-generator, not in
lib-target-class and exe-target-class. This makes the 'unit-test' rule
work with <library>.


[SVN r25768]
2004-10-18 10:10:36 +00:00
Vladimir Prus
b07ed28f61 Make third 'init' parameter for all toolsets be 'options', so use can
write

   using gcc : ... : ... : <cxxflags>foo <linkflags>bar ;

* tools/common.jam (handle-options): The login for setting the common
options.


[SVN r25767]
2004-10-18 09:57:37 +00:00
Vladimir Prus
18b96d9ce7 Make third 'init' parameter for all toolsets be 'options', so use can
write

   using gcc : ... : ... : <cxxflags>foo <linkflags>bar ;

* tools/common.jam (handle-options): The login for setting the common
options.


[SVN r25767]
2004-10-18 09:57:37 +00:00
Vladimir Prus
4190df6260 * common.jam
(check-tool): Try finding both first and the last element. This avoid
  warning both in the case of "distcc g++", and in case of
  '"set FOO=bar &&" como'.
  (get-invocation-command): Returns the user-specified command even if
  it can't be found anywere. This means user specified command will show
  up in the command line, and even if it fails, it's less confusing than
  command line with no compiler name at all.


[SVN r25765]
2004-10-18 06:55:36 +00:00
Vladimir Prus
5feff8c90d * common.jam
(check-tool): Try finding both first and the last element. This avoid
  warning both in the case of "distcc g++", and in case of
  '"set FOO=bar &&" como'.
  (get-invocation-command): Returns the user-specified command even if
  it can't be found anywere. This means user specified command will show
  up in the command line, and even if it fails, it's less confusing than
  command line with no compiler name at all.


[SVN r25765]
2004-10-18 06:55:36 +00:00
Vladimir Prus
7e6b8e8424 Changed syntax of 'using gcc', allowing configuration of linker-type
* v2/tools/gcc.jam
    (init): parse the new options and call the new rule.
    (init-link-flags): new rule. Initialize flags based on linker type.
              put back -minpure-text
* v2/test/conditionals.py
     small modification to avoid empty binaries.

Patch from Andre Hentz.


[SVN r25764]
2004-10-18 06:41:50 +00:00
Vladimir Prus
f0cf33f57f Changed syntax of 'using gcc', allowing configuration of linker-type
* v2/tools/gcc.jam
    (init): parse the new options and call the new rule.
    (init-link-flags): new rule. Initialize flags based on linker type.
              put back -minpure-text
* v2/test/conditionals.py
     small modification to avoid empty binaries.

Patch from Andre Hentz.


[SVN r25764]
2004-10-18 06:41:50 +00:00
Vladimir Prus
4b8fa1648c Do not hardcode dll paths in libraries. That's not really needed, and
would force us to relink all libraries when staging.

Now that libraries do not hardcode dll paths, add a check that correct
-rpath-link options are added. When staging, we don't hardcode-dll-paths,
and libraries never hardcode dll paths, so if there's a long chain of
libraries, we should add -rpath-link, otherwise the linker won't find
the dynamic libraries and will complain.


[SVN r25756]
2004-10-16 09:31:58 +00:00
Vladimir Prus
faecbd8532 Do not hardcode dll paths in libraries. That's not really needed, and
would force us to relink all libraries when staging.

Now that libraries do not hardcode dll paths, add a check that correct
-rpath-link options are added. When staging, we don't hardcode-dll-paths,
and libraries never hardcode dll paths, so if there's a long chain of
libraries, we should add -rpath-link, otherwise the linker won't find
the dynamic libraries and will complain.


[SVN r25756]
2004-10-16 09:31:58 +00:00
Vladimir Prus
6c802afcf2 Make <hardcode-dll-paths>true the default.
[SVN r25735]
2004-10-15 13:11:15 +00:00
Vladimir Prus
d6e1f35760 Make <hardcode-dll-paths>true the default.
[SVN r25735]
2004-10-15 13:11:15 +00:00
Vladimir Prus
f713da2a09 FAQ entry on dll-path. Clarify difference between <file> and <name>
[SVN r25733]
2004-10-15 10:56:57 +00:00
Vladimir Prus
9e080f67b6 FAQ entry on dll-path. Clarify difference between <file> and <name>
[SVN r25733]
2004-10-15 10:56:57 +00:00
Vladimir Prus
8b3a91639e Minor edits
[SVN r25724]
2004-10-14 10:50:27 +00:00
Vladimir Prus
78b1ea9774 Minor edits
[SVN r25724]
2004-10-14 10:50:27 +00:00
Vladimir Prus
9aeeb522ca Add support for Comeau.
[SVN r25723]
2004-10-14 08:33:54 +00:00
Vladimir Prus
f2b09edf2c Add support for Comeau.
[SVN r25723]
2004-10-14 08:33:54 +00:00
Vladimir Prus
3749df3e77 Fix sed invocation
[SVN r25711]
2004-10-13 15:34:21 +00:00
Vladimir Prus
e906e7a158 Fix sed invocation
[SVN r25711]
2004-10-13 15:34:21 +00:00
Vladimir Prus
f78a6b04d3 Raise sections on builtin rules one level higher, expand, and document
the new library syntaxes.


[SVN r25704]
2004-10-13 10:48:35 +00:00
Vladimir Prus
e8e5141816 Raise sections on builtin rules one level higher, expand, and document
the new library syntaxes.


[SVN r25704]
2004-10-13 10:48:35 +00:00
Vladimir Prus
17a685e035 Library improvements:
lib png : z : <name>png ;
  lib z : : <name>z ;

now works: if you link to 'png' you'll also link to 'z'.

  lib png : z : <file>png.a ;
  lib z : : <file>z.a ;

now works too. The 'prebuilt.jam' modules which used to handle <file> for
all target kinds is now removed.


[SVN r25703]
2004-10-13 10:46:53 +00:00
Vladimir Prus
08bac7ef79 Library improvements:
lib png : z : <name>png ;
  lib z : : <name>z ;

now works: if you link to 'png' you'll also link to 'z'.

  lib png : z : <file>png.a ;
  lib z : : <file>z.a ;

now works too. The 'prebuilt.jam' modules which used to handle <file> for
all target kinds is now removed.


[SVN r25703]
2004-10-13 10:46:53 +00:00
Vladimir Prus
a1753dcec1 Additional test
[SVN r25702]
2004-10-13 08:03:59 +00:00
Vladimir Prus
1d0f718eb8 Additional test
[SVN r25702]
2004-10-13 08:03:59 +00:00
Vladimir Prus
8f7c1dde3d Restore the gcc specific link generators.
* build/toolset.jam (inherit-generator): New parameter 'generators-to-ignore'.
* tools/gcc.jam: Ignore *link* generators when inheriting. Declare the
  gcc specific generator.
* test/gcc_runtime.py: Test that <link-runtime>static is correctly handled.
  The gcc specific generator is necessary exactly for that reason.


[SVN r25700]
2004-10-13 08:02:23 +00:00
Vladimir Prus
593ceeef79 Restore the gcc specific link generators.
* build/toolset.jam (inherit-generator): New parameter 'generators-to-ignore'.
* tools/gcc.jam: Ignore *link* generators when inheriting. Declare the
  gcc specific generator.
* test/gcc_runtime.py: Test that <link-runtime>static is correctly handled.
  The gcc specific generator is necessary exactly for that reason.


[SVN r25700]
2004-10-13 08:02:23 +00:00
Vladimir Prus
948d9761f4 Add comment
[SVN r25699]
2004-10-13 06:58:35 +00:00
Vladimir Prus
da19826066 Add comment
[SVN r25699]
2004-10-13 06:58:35 +00:00
Aleksey Gurtovoy
51d3e6c8e0 cleanup intel-win32-tools.jam base toolset mess
[SVN r25693]
2004-10-12 20:08:36 +00:00
Vladimir Prus
e57fd7f062 Don't remove index.html when making packages
[SVN r25685]
2004-10-12 08:28:16 +00:00
Vladimir Prus
7140f1b23e Don't remove index.html when making packages
[SVN r25685]
2004-10-12 08:28:16 +00:00
Vladimir Prus
74d9f9e394 Added Wiki link.
[SVN r25684]
2004-10-12 08:21:45 +00:00
Vladimir Prus
f33e010867 Added Wiki link.
[SVN r25684]
2004-10-12 08:21:45 +00:00
Aleksey Gurtovoy
e1a8799de5 fix base toolset name
[SVN r25683]
2004-10-12 06:56:54 +00:00
Aleksey Gurtovoy
1eb5576310 restore correct version-tag extraction code
[SVN r25676]
2004-10-11 22:15:20 +00:00
Aleksey Gurtovoy
4f01e56508 adjust /Q flag generation to the new toolset names
[SVN r25665]
2004-10-11 13:38:01 +00:00
Vladimir Prus
e646c5b8f8 Ignore <library>, except for "exe" and "lib" targets.
[SVN r25661]
2004-10-11 12:13:48 +00:00
Vladimir Prus
d5703174df Ignore <library>, except for "exe" and "lib" targets.
[SVN r25661]
2004-10-11 12:13:48 +00:00