2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 15:02:19 +00:00
Commit Graph

767 Commits

Author SHA1 Message Date
Vladimir Prus
4bfc1df6d5 * tools/fop.jam: Cleanup. Accept command, not path, just like other toolsets.
Check for duplicate initialization.


[SVN r26100]
2004-11-03 08:23:04 +00:00
Vladimir Prus
22c6f4e4c0 When 'stage' is used with <traverse-dependencies>on, do not follow the <use>
property, since it's typically used when only headers are used.

* build/virtual-target.jam (subvariant.all-referenced-targets): Return
  the names of properties.
* tools/stage.jam (stage-target-class.collect-targets): Filter out <use>

Thanks to Jurgen Hunold for the bug report.


[SVN r26052]
2004-11-01 16:10:41 +00:00
Aleksey Gurtovoy
194581f65c make fop work on Windows
[SVN r25997]
2004-10-31 08:00:46 +00:00
Vladimir Prus
a12633e324 * tools/qt.jam (directory): New rule.
Patch from Jurgen Hunold.


[SVN r25874]
2004-10-26 14:28:47 +00:00
Vladimir Prus
29985d877e Don't duplicate flags when two version of 'darwin' or 'intel-linux'
are configured.

* tools/gcc.jam (init-link-flags): New parameter 'toolset'.
* tools/darwin.jam (init): Move flags inheriting out of here
* tools/intel-linux.jam (init): Likewise.


[SVN r25817]
2004-10-21 08:13:34 +00:00
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
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
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
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
f2b09edf2c Add support for Comeau.
[SVN r25723]
2004-10-14 08:33:54 +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
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
Vladimir Prus
d5703174df Ignore <library>, except for "exe" and "lib" targets.
[SVN r25661]
2004-10-11 12:13:48 +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
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