2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00
Commit Graph

2328 Commits

Author SHA1 Message Date
Vladimir Prus
b38c1978d3 Fixes related to init-link-flags
* tools/gcc.jam
   (init): passing $(condition) to init-link-flags
   (init-link-flags): now takes new condition parameter
                      moved common flags out of it
* tools/intel-linux.jam
   (init): moved call to inherit-flags into it because we need to call
           gcc.init-link-flags with the 'condition' parameter.
* tools/darwin.jam
   (init): moved call to inherit-flags into it because we need to call
           gcc.init-link-flags with the 'condition' parameter.

Fixes related to init-link-flags
* tools/gcc.jam
   (init): passing $(condition) to init-link-flags
   (init-link-flags): now takes new condition parameter
                      moved common flags out of it
* tools/intel-linux.jam
   (init): moved call to inherit-flags into it because we need to call
           gcc.init-link-flags with the 'condition' parameter.
* tools/darwin.jam
   (init): moved call to inherit-flags into it because we need to call
           gcc.init-link-flags with the 'condition' parameter.

Patch from Andre Hentz.


[SVN r25816]
2004-10-21 07:39:11 +00:00
Vladimir Prus
bd3dc13b9b Fixes related to change in 'rule flags'
* build/toolset.jam
   (inherit-flags): corrected check for prohibited properties
                    corrected call to add-flags

Patch from Andre Hentz.


[SVN r25815]
2004-10-21 07:23:34 +00:00
Vladimir Prus
e8e4dbc96d Clarify alias/usage-requirements
[SVN r25814]
2004-10-21 07:05:39 +00:00
Vladimir Prus
93f3c9c3a9 Exclude 'profile' variant from test, since it causes unidentified
problems on cygwin/gcc. The problem does not look to be related to V2.


[SVN r25804]
2004-10-20 12:06:20 +00:00
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
311f123251 Update docs: features and the toolset options
[SVN r25801]
2004-10-20 11:51:19 +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
84f8d8f3aa Fix <xdll-path> on Solaris linker.
Patch from Andre Hentz.


[SVN r25780]
2004-10-19 06:26:45 +00:00
Vladimir Prus
f5caba7873 Added history
[SVN r25770]
2004-10-18 11:17:15 +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
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
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
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
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
d6e1f35760 Make <hardcode-dll-paths>true the default.
[SVN r25735]
2004-10-15 13:11:15 +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
78b1ea9774 Minor edits
[SVN r25724]
2004-10-14 10:50:27 +00:00
Vladimir Prus
f2b09edf2c Add support for Comeau.
[SVN r25723]
2004-10-14 08:33:54 +00:00
Vladimir Prus
e906e7a158 Fix sed invocation
[SVN r25711]
2004-10-13 15:34:21 +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
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
1d0f718eb8 Additional test
[SVN r25702]
2004-10-13 08:03:59 +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
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
7140f1b23e Don't remove index.html when making packages
[SVN r25685]
2004-10-12 08:28:16 +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
d5703174df Ignore <library>, except for "exe" and "lib" targets.
[SVN r25661]
2004-10-11 12:13:48 +00:00
Vladimir Prus
2bf6bbc292 Expand entry on per-object flags
[SVN r25658]
2004-10-11 09:09:52 +00:00
Vladimir Prus
4f5ab458a5 Add FAQ entry
[SVN r25657]
2004-10-11 08:19:15 +00:00
Vladimir Prus
22d7014535 Rename lib.err.cpp to lib-err.cpp.
[SVN r25655]
2004-10-11 06:57:05 +00:00
Vladimir Prus
b6ec0ada67 Rename test-config.jam.in to test-config-example.jam.
[SVN r25654]
2004-10-11 06:52:10 +00:00
Rene Rivera
8422292313 Fix detection of long toolset names in translation to short names.
[SVN r25652]
2004-10-11 01:29:11 +00:00
Aleksey Gurtovoy
438023f2c0 remove dots from toolset names (see http://thread.gmane.org/gmane.comp.lib.boost.build/6603)
[SVN r25651]
2004-10-10 18:50:29 +00:00
Vladimir Prus
b379061eb7 tools/build/v2/doc/architecture.html
File removed. It's pretty old and will only confuse users.

   tools/build/v2/doc/extending.html

File removed, all content is in BoostBook already.


[SVN r25609]
2004-10-07 15:25:05 +00:00
Vladimir Prus
e78d99405a Fix links.
[SVN r25602]
2004-10-07 07:38:44 +00:00
Aleksey Gurtovoy
9056a721a5 c++boost.gif -> boost.png replacement
[SVN r25572]
2004-10-05 15:23:19 +00:00
Aleksey Gurtovoy
92808c247c move flags declarations to the corresponding derived toolsets
[SVN r25569]
2004-10-05 11:46:05 +00:00
Vladimir Prus
9e1b8801e2 Reduce directory depth, for CD FS benefit.
[SVN r25565]
2004-10-05 07:55:20 +00:00
Vladimir Prus
4ca82ca25f Remove one directory level in testcase, so stay below 8-level limit of some
broken systems.


[SVN r25563]
2004-10-05 07:12:26 +00:00
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
Rene Rivera
bb4d03e57e Clneaup... Update license statements and HTMLTidy.
[SVN r25538]
2004-10-03 16:27:43 +00:00
Rene Rivera
82120cb6cf Change to allow using "stlp" as a shorthand for "stlport" in toolset names.
Change to allow using "iw" as shorthand for "intel-win32" in toolset names.


[SVN r25527]
2004-10-02 19:00:25 +00:00
Victor A. Wagner Jr.
4211bf4d75 This is the additions necessary to get amd64 code from VC8.0 on an x86 system
[SVN r25524]
2004-10-02 17:48:25 +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
ff9203f7f6 Remove obsolete file. Rename index_v2.html to index.html.
[SVN r25505]
2004-10-01 10:45:50 +00:00