2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00
Commit Graph

23 Commits

Author SHA1 Message Date
Dave Abrahams
320031246c Stop generating illegal argumentless -F option in the link line.
[SVN r35402]
2006-09-28 22:27:50 +00:00
Dave Abrahams
35798dd566 Find frameworks properly
[SVN r35077]
2006-09-12 23:53:34 +00:00
Vladimir Prus
762b3acc1e Use USER_OPTIONS in darwin.jam. This unbreaks user's <cflags> and <linkflags>
settings.


[SVN r34660]
2006-07-22 06:22:12 +00:00
Vladimir Prus
3dad3e1012 Ignore <runtime-link>static and don't pass -static to linker on Darwin,
as it's not supported by the toolset.

Thanks to Doug Gregor for diagnosing this.


[SVN r33675]
2006-04-12 07:12:52 +00:00
Vladimir Prus
aff8de18ab Workaround broken -s option with Apple gcc 4.0.x on Darwin.
Thanks to Doug Gregor for report and suggested fix.


[SVN r33654]
2006-04-11 06:14:44 +00:00
Vladimir Prus
7b50c072b3 Cleanup generator overrides
[SVN r33055]
2006-02-21 08:18:22 +00:00
Vladimir Prus
d2f9daebca Resolve confict between builtin.lib-generator and $(toolset).prebuilt
in favour of the latter (toolset.prebuilt). This cuts down the number
of generator invocations for prebuilt target and is more clear.

Thanks to Mark Evans for pointing this out.


[SVN r32952]
2006-02-16 07:47:09 +00:00
Vladimir Prus
e7a2eff161 Improved MacOS X support for -fcoalesce-templates. Check for result
of gcc --dumpversion when deciding if we're using 4.0 or not.

Patch from Craig Rodrigues.


[SVN r30105]
2005-07-15 13:31:13 +00:00
Vladimir Prus
6c5474814c Unbreak searched libraries for a number of toolsets.
[SVN r29597]
2005-06-16 05:49:39 +00:00
Vladimir Prus
5fab631f5d Further generators simplications.
1. If when generating something, we find more that one suitable generators,
   run them and more then one return something, immediately report ambiguity.
   Don't care if the produced targets are the same. This is better that
   running several generators all the time, performance wise.

2. Remove the notion of 'intermediate' virtual-targets. IIRC, they were used
   to prevent staging of RSP files, and we don't stage them anyway now.


[SVN r29491]
2005-06-09 08:12:21 +00:00
Vladimir Prus
15375bb9a2 Finally fix darwin's -fcoalesce-templates logic.
Patch from Daniel Heck.


[SVN r29365]
2005-06-02 07:46:25 +00:00
Vladimir Prus
eecdd3b658 Try to avoid passing -fcoalesce-templates with OSX 10.4, as it's not supported
there.

Based on patch from Craig Rodrigues.


[SVN r29244]
2005-05-27 15:07:07 +00:00
Vladimir Prus
a2322a224d Unbreak darwin, after darwin solib suffix was moved to types/lib.jam.
Patch from Craig Rodrigues.


[SVN r29242]
2005-05-27 14:53:08 +00:00
Vladimir Prus
31fb098473 Bugfix. The '_' var was not defined on the link action, only on link.dll.
[SVN r26584]
2004-12-27 09:07:04 +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
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
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
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
f2b0152895 Darwin improvements.
Patch from Andre Hentz.

 * v2/build/toolset.jam
   (inherit-flags): Take an extra parameter describing properties that
   should not be inherited.

 * v2/build/type.jam
   (register-suffixes): Removed local qualifier.

 * v2/test/BoostBuild.py
   (prepare_suffix_map): Add .dylib if OS is Darwin.
   (Tester::_init_): path to bjam on Darwin.

 * v2/test/prebuilt.py
   make sure $toolset is expanded correctly.

 * v2/test/prebuilt/project-root.jam
   use $toolset instead of gcc.

 * v2/test/prebuilt/ext/project-root.jam
   use $toolset instead of gcc.

 * v2/test/prebuilt/ext/Jamfile2.jam
   handle extension .dylib.

 * v2/test/prebuilt/ext/Jamfile2.jam
   handle extension .dylib.

 * v2/tools/darwin.jam
   inline call to toolset.inherit.
   filter <debug-symbols>off because -s is not accepted for dlls.
   speficy that .dylib files are of type SHARED_LIB.
   (actions link): pass -s for static linkage.
   (actions link.dll): pass -L flag with path to libraries.
   (actions archive): -c inhibits warning.


[SVN r22332]
2004-02-20 08:51:33 +00:00
Vladimir Prus
e0e8d345a4 Incremental improvement to the darwin toolset.
* Set the proper suffix for shared libraries
 * Added C and C++ compile options used in v1:
    -Wno-long-double, -no-cpp-precomp, and -fcoalesce-templates
 * Converted the link.dll rule to use the bundled libtool
 * Added support for linking to frameworks

Patch from Christopher Currie.


[SVN r20695]
2003-11-06 07:32:04 +00:00
Vladimir Prus
734d7f1031 Add Darwin toolset, from Christopher Currie.
[SVN r19851]
2003-08-29 07:33:28 +00:00