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

96 Commits

Author SHA1 Message Date
Vladimir Prus
1a6be14934 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
91017c352b Fix gcc on HP-UX. Patch from Boris Gubenko.
[SVN r39642]
2007-10-01 17:34:43 +00:00
Vladimir Prus
074a8759f1 * gcc.jam (init-link-flags): Add missing
'unchecked'. This was breaking intel.


[SVN r39267]
2007-09-14 15:28:13 +00:00
Roland Schwarz
05c93e4d3c 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
5d6be523a2 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
09f2e196ff Merge changes from Version_1_34_1 back to trunk.
[SVN r38792]
2007-08-20 16:52:55 +00:00
Rene Rivera
ac1109b9ee 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
3e78309c01 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
3d639049e0 Add some of the arch/cpu options for GCC.
[SVN r36512]
2006-12-24 21:27:14 +00:00
Vladimir Prus
d652aa9fab Unbreak multi-element gcc commands
[SVN r35791]
2006-10-30 08:35:33 +00:00
Rene Rivera
aa3962bfc5 Limit the flavor to certain toolsets. For now only MinGW.
[SVN r35745]
2006-10-25 19:43:35 +00:00
Rene Rivera
2a701e9de3 Fix guard for autodetect of command version and flavor.
[SVN r35743]
2006-10-25 14:25:05 +00:00
Rene Rivera
0b6c1bb755 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
5d66e5697b 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
c316268127 Use -Winvalid-pch
[SVN r35710]
2006-10-23 19:02:12 +00:00
Vladimir Prus
b3d09c6a2e 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
76d041d7c1 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
49ce46e7fd 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
008c8b1643 Skip targets that can't be generated like BBv1 does.
[SVN r34806]
2006-08-02 18:26:30 +00:00
Rene Rivera
708298cb2f Add compiler specific bin dir to lib paths, as it contains important runtime dynamic libraries, for example for mingw.
[SVN r34319]
2006-06-16 21:52:54 +00:00
Markus Schöpflin
0fd1f6cf7a Removed -soname option for Tru64.
[SVN r34079]
2006-05-24 10:37:55 +00:00
Vladimir Prus
744bec5297 Don't pass -s on Darwin.
[SVN r33998]
2006-05-18 10:37:52 +00:00
Vladimir Prus
c48bd867cf Stop intel-linux from failing due unknown name of archiver command.
[SVN r33997]
2006-05-18 10:37:10 +00:00
Matthias Troyer
748d97865b Increased template-depth to accomodate serialization library
[SVN r33939]
2006-05-05 15:34:29 +00:00
Jürgen Hunold
c9c181da31 Fixed shadowing of rc variable in if-clause.
[SVN r33714]
2006-04-16 18:15:30 +00:00
Rene Rivera
664b30e0e3 Fix RC tool to fallback to the null rc type when a real one can't be found.
[SVN r33699]
2006-04-14 20:07:35 +00:00
Rene Rivera
7caae4d9f5 Per ticket #81 <https://zigzag.cs.msu.su/boost.build/ticket/81>. Use start/end-group options of the GNU linker to allow for cyclic dependencies in libraries.
[SVN r33575]
2006-04-07 00:48:49 +00:00
Rene Rivera
6187be22dd Add support for toolset specific resource compiler tool. Make gcc toolset configure a resource compiler if available, and optionally can be user configured. This allows the use of RC files with MinGW and CYGWIN. MSVC minor adjustment to changed name of RC rule.
[SVN r33539]
2006-04-05 05:36:52 +00:00
Vladimir Prus
20065dfe21 Fix LD_LIBRARY_PATH setting for 64-bit gcc.
[SVN r33521]
2006-03-29 15:20:08 +00:00
Vladimir Prus
e32ee36424 Fix rpath and strip for OFS linker.
[SVN r33519]
2006-03-29 11:42:04 +00:00
Rene Rivera
6934ddd420 Fixes for MinGW compilation.
* Configuration prefers using the AR in the compiler specific bin dir.
* Fix pre-delete of archives so it uses it's own action, and hence allows the archive action to be a single command.
* That fixes the problem of command line limits on the CMD shell, for archives that have many source files.


[SVN r33475]
2006-03-26 06:28:51 +00:00
Vladimir Prus
e30e52e60e Allow to explicitly specify root, in case where we have trouble auto-detecting
it from the compiler name.


[SVN r33453]
2006-03-23 08:35:37 +00:00
Vladimir Prus
8365dbd676 Don't append lib paths for all gcc version to a single RUN_PATH.
[SVN r33441]
2006-03-22 14:28:39 +00:00
Vladimir Prus
d3ad73477e Fix making shared libraries on OSF with gcc.
Patch from Markus Schoepflin.


[SVN r33310]
2006-03-10 13:38:40 +00:00
Vladimir Prus
0a978c00ae Set RUN_PATH variable when linking with gcc, which allows the testing
rules (run/unit-test) to set LD_LIBRARY_PATH variables when running test.

This is to accomotate cases where gcc is installed in non-standard location,
and the path to that location is not in LD_LIBRARY_PATH, but the binaries
still want to link to libstdc++.


[SVN r33307]
2006-03-10 11:51:24 +00:00
Vladimir Prus
fb7888dc6a Make <warnings>on the default. Increase warning level options for
compiler for <warnings>all for gcc and intel.


[SVN r33306]
2006-03-10 11:29:31 +00:00
Vladimir Prus
2452652295 Make sure that flags specified via cflags/cxxflags/linkflags are passed
after all flags added by V2 from features. This was, explicit
warnings disabling options will after -Wall on the command line and take
effect.


[SVN r33251]
2006-03-07 10:03:50 +00:00
Vladimir Prus
8210463e19 Cleanup generator overrides
[SVN r33055]
2006-02-21 08:18:22 +00:00
Vladimir Prus
faef21bfba 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
c888bb5647 New features <warning> and <warnings-as-errors>.
Patch from Reece Dunn.


[SVN r31068]
2005-09-21 13:44:06 +00:00
Vladimir Prus
56b71cd883 On, windows, don't delete a static library if it does not exists.
The "del" command does not have a switch to prevent warning if file
does not exists, so need extra shell magic.


[SVN r31034]
2005-09-19 08:14:37 +00:00
Vladimir Prus
e16b5c58be Remove the 'u' modifier from 'ar' invocation, which is not needed
now that we remove archive before invoking 'ar'.


[SVN r30768]
2005-09-01 08:04:48 +00:00
Vladimir Prus
9d17915ce4 Support assembler sources with gcc.
Patch from Craig Rodrigues.


[SVN r30406]
2005-08-03 13:33:45 +00:00
Vladimir Prus
43994ac2eb Rename link-runtime to runtime-link to stay compatible with V1.
[SVN r29586]
2005-06-15 12:24:06 +00:00
Vladimir Prus
27b0e53cde 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
f1a98f8139 Fix typo
[SVN r29373]
2005-06-02 12:04:45 +00:00
Vladimir Prus
2d83788eff Make sure -fPIC is added when compiling objects declared with the 'obj' rule.
[SVN r29369]
2005-06-02 09:24:24 +00:00
Vladimir Prus
52c9343020 Serialize execution of gcc.link.* actions when -j option is specifying.
Executing link actions in parallel hardly speeds up anything.


[SVN r27764]
2005-03-22 08:06:02 +00:00
Vladimir Prus
85f1f406e5 For gcc, remove static lib before running 'ar', to avoid old files to
stay in the archive forever.


[SVN r27551]
2005-03-04 10:13:15 +00:00
Vladimir Prus
955e6107e4 Fix thereading support on darwin -- don't add -lrt.
Patch from Pedro Ferreira.


[SVN r26585]
2004-12-27 09:23:25 +00:00