2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 13:42:14 +00:00
Commit Graph

127 Commits

Author SHA1 Message Date
Vladimir Prus
5f9ec50378 Adjust library names on mingw/cygwin. Fixes #1907
[SVN r60062]
2010-03-01 22:32:00 +00:00
Vladimir Prus
442fffbefb Use same flags for fortran compilation as for C and C++.
Fixes #3916.


[SVN r59986]
2010-02-28 07:51:21 +00:00
Vladimir Prus
f5a356823e Ran ranlib on static libraries.
[SVN r59898]
2010-02-25 11:41:41 +00:00
Vladimir Prus
29840f6a48 Remove debug print
[SVN r59830]
2010-02-21 23:42:19 +00:00
Vladimir Prus
b300e8a921 Special case processing of RPATH, so that '$ORIGIN' can be used
Fixes #3479


[SVN r59765]
2010-02-20 11:03:58 +00:00
Vladimir Prus
ab541ea544 Enable soname for HPUX.
Patch from João Luís Pinto.


[SVN r59509]
2010-02-05 12:42:09 +00:00
Vladimir Prus
c159193c72 Improve fortran support.
Patch from Spencer Olson.


[SVN r59284]
2010-01-27 20:49:56 +00:00
Vladimir Prus
d6f5f0bf72 Do not strip binaries in release variant.
[SVN r58331]
2009-12-12 23:08:29 +00:00
Vladimir Prus
40b04382be Don't pass -m64 if address-model is 32_64 (or anything != 64).
[SVN r57061]
2009-10-22 08:23:41 +00:00
Vladimir Prus
427bd8e74d Add 'native' and 'core2' architectures.
Patch from Serhat Şevki Dinçer.


[SVN r56180]
2009-09-14 09:32:36 +00:00
Vladimir Prus
7db5ac7eed Make address-model take effect even if architecture is not specified.
It seems more ultimately helpful to directly translate address-model
to -m32/-m64 on gcc, since that option works fine even if -march is
not specified.


[SVN r53510]
2009-05-31 18:49:11 +00:00
Vladimir Prus
69a2449e5e Generate import libs on cygwin, and fix naming to match conventions.
Patch from Ronald Landheer-Cieslak.


[SVN r53446]
2009-05-30 11:51:46 +00:00
Vladimir Prus
ef90a34650 Include options specified with cflags/cxxflags when compiling PCH.
Suggested by J. van der Wulp.


[SVN r49694]
2008-11-12 07:26:24 +00:00
Vladimir Prus
f2ed53b505 On Solaris host, assume sun linker.
[SVN r49619]
2008-11-06 18:13:17 +00:00
Vladimir Prus
4cc570a24b Key on solaris, not sunos, since sunos had last release in 1992,
and solaris is what is the current name.


[SVN r49616]
2008-11-06 17:26:14 +00:00
Vladimir Prus
f695e2d04d When building on Windows for Linux target with gcc, don't try to create
import libraries and allow linking executables to shared libraries.


[SVN r49596]
2008-11-05 10:11:30 +00:00
Vladimir Prus
4e3b76d0d6 Properly set threading options when compiling PCH.
Bug report from Jeroen van der Wulp.


[SVN r49504]
2008-11-01 08:21:56 +00:00
Vladimir Prus
1151793cff Ubreak PCH, by setting -fPIC option as necessary when
compiling PCH.


[SVN r49126]
2008-10-03 08:32:05 +00:00
Jürgen Hunold
36ec5d2c73 Fix regression in r49009: Add threading libs to FINDLIBS-SA with operator += instead of reset with "=".
[SVN r49026]
2008-09-29 18:44:16 +00:00
Vladimir Prus
f83fb0597a Only add -pthread/-mthread when threading=multi.
[SVN r49011]
2008-09-29 16:09:34 +00:00
Vladimir Prus
e10283caa7 Use target-os when computing threading and -fPIC options.
[SVN r49009]
2008-09-29 15:56:19 +00:00
Jurko Gospodnetić
c76c9b4730 Reordered module imports in Boost Build's gcc.jam & qcc.jam toolset modules.
[SVN r48314]
2008-08-23 12:08:50 +00:00
Jurko Gospodnetić
bfc5bb50b2 Minor stylistic change to Boost Build toolset modules making them refer to the toolset.flags rule by its full name.
[SVN r48298]
2008-08-22 22:15:39 +00:00
Jurko Gospodnetić
482034dee6 Made the Boost Build c++-template-depth feature be optional, thus avoiding a need to have each toolset module define its default value for this feature.
This corrects a 'bug' with each such toolset module redefining the default value for all other toolsets as well, thus potentially breaking builds triggered with multiple initialized toolsets.

This also avoids passing a redundant compiler command-line option when this property is not specified.

Specialized support has been added for gcc & qcc toolsets that want to change their compiler's default template-depth parameter value used when the c++-template-depth property is not explicitly specified. Although it might be better to find out why these defaults 'need to be changed' in the first place (most likely due to some Boost library build issue) we are currently too close to the Boost library 1.36.0 release to risk causing breakage by changes in the build system so this will need to wait for some later time.


[SVN r47890]
2008-07-30 18:01:04 +00:00
Jurko Gospodnetić
4c121da45f Added a new c++-template-depth Boost Build feature allowing configuring compilers supporting this feature with the maximal template instantiation depth. Currently supported for gcc & qcc toolsets.
[SVN r47727]
2008-07-23 16:49:19 +00:00
Jurko Gospodnetić
a77dbfabf4 Minor stylistic comment changes & trailing spaces removal in the Boost Build tools/gcc.jam module. Updated different comments and error messages to contain the correct list of supported linker types.
[SVN r47638]
2008-07-20 16:32:08 +00:00
Vladimir Prus
3e2ec364cd AIX/gcc fixes.
- Use native AIX linker
        - Search both for .a and .so libraries
        - Include only solib basename to refer to them, to workaround for lack
        for -soname option.

Patches from Andrew Miller and Andrej van der Zee.


[SVN r47293]
2008-07-10 15:53:42 +00:00
Rene Rivera
ec353d7678 Don't add -mcpu=common as default for power architecture. On Xcode it is ignored and produces invalid code. It makes more sense to make the default for unspecified instruction set be whatever the default is for the compiler.
[SVN r46764]
2008-06-27 04:02:57 +00:00
John Maddock
df5a46c2a9 When -lrt is needed, it's needed in *both* single and multi-threaded builds.
[SVN r44347]
2008-04-12 16:02:24 +00:00
Jurko Gospodnetić
28e859c07a Added support for compiling C++ programs without RTTI support using the gcc toolset.
[SVN r43281]
2008-02-16 16:53:33 +00:00
Jurko Gospodnetić
886c2d7f90 Corrected comments related to the allowed linker & linker-type values. Minor stylistic changes.
[SVN r43280]
2008-02-16 16:50:42 +00:00
Vladimir Prus
a544c46fb3 Fix detection of RC compiler presense, and null obj fallback.
Thanks to Juergen Hunold for the bug report.


[SVN r42295]
2007-12-25 09:11:37 +00:00
Vladimir Prus
71500ad4c4 Fix gcc on HP-UX. Patch from Boris Gubenko.
[SVN r39642]
2007-10-01 17:34:43 +00:00
Vladimir Prus
856a41141e * gcc.jam (init-link-flags): Add missing
'unchecked'. This was breaking intel.


[SVN r39267]
2007-09-14 15:28:13 +00:00
Roland Schwarz
b3ec4fc36d Make use of gnu ld's -Bstatic and -Bdynamic switches to choose order of libraries searched by -l switch.
[SVN r39113]
2007-09-03 19:38:40 +00:00
Roland Schwarz
793f19ac11 Changed library naming convention for mingw and cygwin. For details see comment in file. Also should resolve Ticket #1058 .
[SVN r39107]
2007-09-02 18:37:14 +00:00
Rene Rivera
14614586ad Merge changes from Version_1_34_1 back to trunk.
[SVN r38792]
2007-08-20 16:52:55 +00:00
Rene Rivera
11e48143d3 Change to using the stable "-dumpversion" and "-dumpmachine" options of GCC to autoconfigure the toolset.
[SVN r37573]
2007-05-03 06:05:21 +00:00
Dave Abrahams
4f0eaeede0 Bringing forward BBv2/Python support and a few other things that were
obviously more up-to-date on the RC branch.

Removed the Boost.Python v1 zip archive.


[SVN r37346]
2007-04-03 17:10:53 +00:00
Rene Rivera
34f8138df8 Add some of the arch/cpu options for GCC.
[SVN r36512]
2006-12-24 21:27:14 +00:00
Vladimir Prus
6a27d761b6 Unbreak multi-element gcc commands
[SVN r35791]
2006-10-30 08:35:33 +00:00
Rene Rivera
ebab11cba0 Limit the flavor to certain toolsets. For now only MinGW.
[SVN r35745]
2006-10-25 19:43:35 +00:00
Rene Rivera
94e2af7680 Fix guard for autodetect of command version and flavor.
[SVN r35743]
2006-10-25 14:25:05 +00:00
Rene Rivera
4c423da9b6 Use the passed in command instead of a fixed one to account for custom and versioned commands. Thanks to Jurge Hunold for the report/patch.
[SVN r35741]
2006-10-25 12:51:05 +00:00
Rene Rivera
840439f061 Add detection of gcc compiler flavor so that we can correctly tag generated libraries to not conflict with each other.
[SVN r35733]
2006-10-24 23:43:08 +00:00
Vladimir Prus
4c76b3426a Use -Winvalid-pch
[SVN r35710]
2006-10-23 19:02:12 +00:00
Vladimir Prus
cbbe68579f Make gcc's PCH generator ignore the cpp sources, so that
cpp-pch pch : pch.hpp pch.cpp ;

work both on gcc and msvc.


[SVN r35604]
2006-10-14 08:17:47 +00:00
Vladimir Prus
c9f08718a9 Implement precompiled headers on gcc and improve same on msvc.
Notable changes:
1. There's no need to cast header to the PCHHEADER type.
2. There are two separate type "C_PCH" and "CPP_PCH", that
use C and C++ compilation respectively.

Most of the patch sumbitted by Ilya Sokolov.

	tools/
	* builtin.jam (class dummy-generator): New.
	* gcc.jam: Override extension of the PCH type.
	(class gcc-pch-generator): New.
	Register generators for C_PCH and CPP_PCH.
	(compile.c++.pch, compile.c.pch): New.
	* msvc.jam (class msvc-pch-generator): New.
	Register generators for C_PCH and CPP_PCH.
	* pch.jam: Remove 'PCHHEADER' type.
	(pch-generator): Fail unlress it's used at top-level
	generator.
	Register catch-all produce-nothing generators for PCH-less
	toolsets.


[SVN r35508]
2006-10-07 09:31:19 +00:00
Rene Rivera
c2c245b5df Undo addition of generator.can-build. Use generator.run to get the same effect.
[SVN r34834]
2006-08-07 05:27:15 +00:00
Rene Rivera
a2e4712a4e Skip targets that can't be generated like BBv1 does.
[SVN r34806]
2006-08-02 18:26:30 +00:00