Steven Watanabe
09b6788df6
Translate the result of running -print-prog-name to a windows path when running a cygwin gcc from a native windows build of b2.
2016-02-25 16:16:31 -07:00
Vladimir Prus
ab3933bc80
Fix quoting for multi-part gcc commands.
...
This fixes usecase such as:
using gcc : cccache g++ ;
2015-06-09 10:52:17 +03:00
Vladimir Prus
831e37cedb
Quote gcc command name when querying various properties.
2015-06-05 10:49:52 +03:00
Jörg Krause
9576ca216c
Don't pass -m32/-m64 where it's not supported.
...
Only PowerPC, SPARC, and x86 do support the -m32 and -m64 compiler options [1].
Rather then excluding all architectures not supporting these options as it is
done in commit c0634341d9 [2], include all
architectures that do support them.
This will fix building Boost for the SuperH architecture with Buildroot [3].
[1] https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html
[2] c0634341d9
[3] http://autobuild.buildroot.net/results/ccd/ccd5c83963032ba49b1627b1dff39e34a9486943/build-end.log
2015-05-04 17:37:18 +03:00
Vladimir Prus
ec60c37295
Remove bogus 'c3' cpu varant for SPARC.
2015-04-27 19:12:54 +03:00
claymore
c0634341d9
mips1 fix added
...
gcc.jam was passing the options -m32 and -m64 to mips cross-compilers, when those do not use such options
This modification solves it by adding mips as an exception
Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
2015-04-24 02:28:47 +01:00
Jessica Hamilton
7f0d33a7b0
haiku: platform support
2014-11-25 09:13:21 +03:00
Axel Ismirlian
24471d5743
Fixed compatibility issues for 64-bit AIX
2014-08-14 16:53:15 +04:00
Jürgen Hunold
854d98d92c
redistribute whitespace around colon
2014-01-22 10:55:35 +01:00
Vladimir Prus
31cfa99489
Introduce 'android' as value of 'target-os' feature.
...
At present, all it does is skips linking to the rt/pthread libraries.
2014-01-22 11:30:33 +04:00
Andrey Semashev
eef6e6146c
By default, when 32 bit x86 build is requested, i686 instruction set is chosen now. i386 instruction set removed since de facto it is not supported by some core libraries (Boost.Atomic and Boost.SmartPtr) and major operating systems. The minimum 32 bit x86 instruction set is i486 now. Also added a few more instruction sets that appeared in recent CPUs.
...
[SVN r84221]
2013-05-10 12:24:34 +00:00
Vladimir Prus
0d4c4cf9d5
Fix rtti=off and exception-handling=off for gcc.
...
Patch from Alexey Nikitin.
[SVN r80893]
2012-10-06 20:24:00 +00:00
Jurko Gospodnetić
29d94131ee
Fixed minor Boost Build error reporting bugs caused by module rules not being directly available using their full names when imported from inside a class rule - an error about rule errors.error or errors.user-error not being defined was getting reported instead of the desired error. This is due to the fact that rule name resolution does not look in the current module in that case but uses the class module instead.
...
[SVN r79621]
2012-07-20 14:39:50 +00:00
Jurko Gospodnetić
41125133ad
Boost Build cleanup - minor stylistic changes & comment typo corrections.
...
[SVN r79166]
2012-06-29 17:59:49 +00:00
Steven Watanabe
ebdd567637
Restore i386 as the default for architecture=x86 address-model=32.
...
[SVN r77276]
2012-03-08 20:55:58 +00:00
Steven Watanabe
b6388fc9e7
Don't use -m32 on arm. This is a more correct version of r77216.
...
[SVN r77275]
2012-03-08 20:51:37 +00:00
Steven Watanabe
db3acc1cfb
Revert [77216].
...
[SVN r77219]
2012-03-04 15:17:27 +00:00
Oliver Kowalke
5e51675704
tools: do not apply -m32 for gcc on ARM
...
[SVN r77216]
2012-03-04 14:00:26 +00:00
Oliver Kowalke
efeb8fceca
tools: remove default 'i386' for architecture on x86
...
[SVN r77201]
2012-03-04 10:11:00 +00:00
Vladimir Prus
3b689f8a14
Set -fPIC for assembler complications, if necessary.
...
Fixes #5508 .
[SVN r71622]
2011-04-30 13:19:28 +00:00
Steven Watanabe
9e87df467c
Implement a preprocessed rule for generating preprocessed source files. Refs #5390 . This is not yet complete as it is only implemented for gcc and msvc.
...
[SVN r71094]
2011-04-07 23:41:19 +00:00
Vladimir Prus
579169d207
Make address-model affect gcc assembler compilations.
...
Patch from Gevorg Voskanyan.
[SVN r69123]
2011-02-21 17:32:38 +00:00
Vladimir Prus
59d651d72e
Fix 32/64 address model options on HPUX.
...
Patch from Crispin Boylan.
Fixes #4808 .
[SVN r66425]
2010-11-07 08:06:19 +00:00
Vladimir Prus
a411403a40
Relax the check between user-specified version and the one from 'g++'.
...
Fixes #4667 .
[SVN r65640]
2010-09-27 16:39:37 +00:00
Vladimir Prus
8c13b1011b
Add verification on gcc version and command.
...
Most importantly, if version is specified and command is not, check for
g++-$version and failing that, check if g++ -dumpversion returns the
version we've asked about.
Patch from Moritz Hassert.
Addresses #4667 .
[SVN r65633]
2010-09-27 16:05:45 +00:00
Vladimir Prus
064d55508c
Adjust library names on mingw/cygwin. Fixes #1907
...
[SVN r60062]
2010-03-01 22:32:00 +00:00
Vladimir Prus
869159c949
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
cd68f4a04f
Ran ranlib on static libraries.
...
[SVN r59898]
2010-02-25 11:41:41 +00:00
Vladimir Prus
1fcdde9bea
Remove debug print
...
[SVN r59830]
2010-02-21 23:42:19 +00:00
Vladimir Prus
8faba6ab29
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
9f841047f1
Enable soname for HPUX.
...
Patch from João Luís Pinto.
[SVN r59509]
2010-02-05 12:42:09 +00:00
Vladimir Prus
605c89253d
Improve fortran support.
...
Patch from Spencer Olson.
[SVN r59284]
2010-01-27 20:49:56 +00:00
Vladimir Prus
15ceb700cd
Do not strip binaries in release variant.
...
[SVN r58331]
2009-12-12 23:08:29 +00:00
Vladimir Prus
4cd98aa8ad
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
d9f3e9ed28
Add 'native' and 'core2' architectures.
...
Patch from Serhat Şevki Dinçer.
[SVN r56180]
2009-09-14 09:32:36 +00:00
Vladimir Prus
6a52abb597
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
c00a05b980
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
0c2e8bdd26
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
f34969de6f
On Solaris host, assume sun linker.
...
[SVN r49619]
2008-11-06 18:13:17 +00:00
Vladimir Prus
67224435a8
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
d48b324294
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
b375bc345e
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
4162b4ff5c
Ubreak PCH, by setting -fPIC option as necessary when
...
compiling PCH.
[SVN r49126]
2008-10-03 08:32:05 +00:00
Jürgen Hunold
6bebc74e63
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
2c9272819d
Only add -pthread/-mthread when threading=multi.
...
[SVN r49011]
2008-09-29 16:09:34 +00:00
Vladimir Prus
4d7704d579
Use target-os when computing threading and -fPIC options.
...
[SVN r49009]
2008-09-29 15:56:19 +00:00
Jurko Gospodnetić
a60715e6f8
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ć
66bae0607d
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ć
ce1a1c2dea
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ć
ebc899f65c
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