Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
42c6918bcf Use common.get-invocation-command
[SVN r23165]
2004-06-23 08:18:05 +00:00
Vladimir Prus
d8dbd13bd1 * tools/borland.jam (init): Rewrite.
* tools/common.jam (get-absolute-tool-path): New rule.


[SVN r23164]
2004-06-23 08:10:25 +00:00
Vladimir Prus
1e3026178c * tools/borland.jam (init): Rewrite.
* tools/common.jam (get-absolute-tool-path): New rule.


[SVN r23164]
2004-06-23 08:10:25 +00:00
Vladimir Prus
ee91fd2b96 Make gcc init parameters consistent with other toolsets. Now one needs:
using gcc : 3.3 : g++-3.3 ;

not

  using gcc : 3.3 g++-3.3 ;

Also fix a typo.


[SVN r23140]
2004-06-21 11:01:45 +00:00
Vladimir Prus
60b2b9622e Make gcc init parameters consistent with other toolsets. Now one needs:
using gcc : 3.3 : g++-3.3 ;

not

  using gcc : 3.3 g++-3.3 ;

Also fix a typo.


[SVN r23140]
2004-06-21 11:01:45 +00:00
Vladimir Prus
db4c8013f7 Add more std comformance options for intel when not in vc-compatible mode.
The options were contributed by Jurgen.


[SVN r23139]
2004-06-21 10:56:32 +00:00
Vladimir Prus
1d9874190d Add more std comformance options for intel when not in vc-compatible mode.
The options were contributed by Jurgen.


[SVN r23139]
2004-06-21 10:56:32 +00:00
Vladimir Prus
ab41660e51 Improve initialization of intel and sun compilers.
[SVN r23138]
2004-06-21 10:52:11 +00:00
Vladimir Prus
278c67add8 Improve initialization of intel and sun compilers.
[SVN r23138]
2004-06-21 10:52:11 +00:00
Vladimir Prus
df30228ba8 Make verson parameter to intel-linux.init optional. New rules common.find-tool
and common.check-tool to help autodetect toolsets.


[SVN r23136]
2004-06-21 09:48:39 +00:00
Vladimir Prus
7456dda199 Make verson parameter to intel-linux.init optional. New rules common.find-tool
and common.check-tool to help autodetect toolsets.


[SVN r23136]
2004-06-21 09:48:39 +00:00
Vladimir Prus
49e45ae346 Fix typo.
[SVN r23135]
2004-06-21 09:14:40 +00:00
Vladimir Prus
32d38a05c0 Fix typo.
[SVN r23135]
2004-06-21 09:14:40 +00:00
Vladimir Prus
f5279c4b87 Improve diagnostics. Previously, targets reference A/B/C//D where the A/B/C
part was incorrect, generated an internal error and backtrace. Now it's
property reported as invalid target id.


[SVN r23134]
2004-06-21 09:13:21 +00:00
Vladimir Prus
be08500538 Improve diagnostics. Previously, targets reference A/B/C//D where the A/B/C
part was incorrect, generated an internal error and backtrace. Now it's
property reported as invalid target id.


[SVN r23134]
2004-06-21 09:13:21 +00:00
Rene Rivera
4fda2ee3e1 Add --c option to force como compiler into C mode compilations.
[SVN r23130]
2004-06-21 00:12:38 +00:00
Rene Rivera
ba6858dbd1 Add --c option to force como compiler into C mode compilations.
[SVN r23130]
2004-06-21 00:12:38 +00:00
Vladimir Prus
290db44e13 Fix the logic for adding /Zc:wchar_t option.
[SVN r23118]
2004-06-18 10:38:30 +00:00
Vladimir Prus
588775eb16 Fix the logic for adding /Zc:wchar_t option.
[SVN r23118]
2004-06-18 10:38:30 +00:00
Vladimir Prus
97f846b000 Improve the 'duplicate name' error.
* kernel/errors.jam (nearest-user-location): New method.
* build/target.jam (abstract-target.__init__): Set self.location.
  (location): New method.
* build/virtual-target.jam (register-actual-name): Output more information.


[SVN r23117]
2004-06-18 08:27:00 +00:00
Vladimir Prus
cb42446b57 Improve the 'duplicate name' error.
* kernel/errors.jam (nearest-user-location): New method.
* build/target.jam (abstract-target.__init__): Set self.location.
  (location): New method.
* build/virtual-target.jam (register-actual-name): Output more information.


[SVN r23117]
2004-06-18 08:27:00 +00:00
Vladimir Prus
7bad7a1e12 Make .current-project a stack and pop an element in project.load, after
reading Jamfile. This allows to explicitly call project.load inside Jamfile,
without changing value of [ project.current ].


[SVN r23116]
2004-06-18 07:47:11 +00:00
Vladimir Prus
83934fa206 Make .current-project a stack and pop an element in project.load, after
reading Jamfile. This allows to explicitly call project.load inside Jamfile,
without changing value of [ project.current ].


[SVN r23116]
2004-06-18 07:47:11 +00:00
Vladimir Prus
f40c465671 Add missing "import".
[SVN r23115]
2004-06-18 07:45:29 +00:00
Vladimir Prus
f26a8a160a Add missing "import".
[SVN r23115]
2004-06-18 07:45:29 +00:00
Vladimir Prus
ef02ee5f7c * build/generators.jam (construct): In addition of not passing intermediate
targets to generators, also return them in together which produced targets.
  This means that intermediate target will be passed though all target and
  eventually end up as dependency of 'all', thereby avoiding the warning
  about independent targets.

  Besides, the reason why intermediate target were invented still applies:
  we want main targets like 'stage' to see all produced targets.

  Thanks to Mark Elston for poiting out on the warning.


[SVN r23106]
2004-06-16 06:32:29 +00:00
Vladimir Prus
c954974634 * build/generators.jam (construct): In addition of not passing intermediate
targets to generators, also return them in together which produced targets.
  This means that intermediate target will be passed though all target and
  eventually end up as dependency of 'all', thereby avoiding the warning
  about independent targets.

  Besides, the reason why intermediate target were invented still applies:
  we want main targets like 'stage' to see all produced targets.

  Thanks to Mark Elston for poiting out on the warning.


[SVN r23106]
2004-06-16 06:32:29 +00:00
Vladimir Prus
28e9aab35b Minor typo: really enable verbose output when command fails.
[SVN r23105]
2004-06-16 06:25:28 +00:00
Vladimir Prus
aea2f1aa58 Minor typo: really enable verbose output when command fails.
[SVN r23105]
2004-06-16 06:25:28 +00:00
Vladimir Prus
d2561ac0e1 Whoops... Use 'g++' by default, since with 'gcc' we'll get linker errors
[SVN r23086]
2004-06-11 11:36:41 +00:00
Vladimir Prus
18af23fee7 Whoops... Use 'g++' by default, since with 'gcc' we'll get linker errors
[SVN r23086]
2004-06-11 11:36:41 +00:00
Vladimir Prus
5ea1bb900b Apply cleaner rules for toolset initialization.
* tools/common.jam (check-init-parameters): New rule.
* tools/gcc.jam (init): Make use of the above.
* kernel/errors.jam (user-error): New rule.


[SVN r23084]
2004-06-11 10:54:04 +00:00
Vladimir Prus
1f8b5a6199 Apply cleaner rules for toolset initialization.
* tools/common.jam (check-init-parameters): New rule.
* tools/gcc.jam (init): Make use of the above.
* kernel/errors.jam (user-error): New rule.


[SVN r23084]
2004-06-11 10:54:04 +00:00
Vladimir Prus
a8f659b68b Correct the verbose-test logic.
[SVN r23083]
2004-06-11 09:25:19 +00:00
Vladimir Prus
6e8c4aa407 Correct the verbose-test logic.
[SVN r23083]
2004-06-11 09:25:19 +00:00
Vladimir Prus
9e5dbba552 Update testing jam to the same logic for running exes as V1 uses.
[SVN r23066]
2004-06-09 13:40:25 +00:00
Vladimir Prus
645495a945 Update testing jam to the same logic for running exes as V1 uses.
[SVN r23066]
2004-06-09 13:40:25 +00:00
Vladimir Prus
6b4a615bea * build/targets.jam (basic-target.generate): Remove duplicates in the list
of sources. Thanks to Jurgen Hunold for the bug report.


[SVN r23058]
2004-06-08 13:56:02 +00:00
Vladimir Prus
3b66c7469a * build/targets.jam (basic-target.generate): Remove duplicates in the list
of sources. Thanks to Jurgen Hunold for the bug report.


[SVN r23058]
2004-06-08 13:56:02 +00:00
Vladimir Prus
c90aab90fb Add missing import.
[SVN r23055]
2004-06-08 08:17:34 +00:00
Vladimir Prus
bf305983d2 Add missing import.
[SVN r23055]
2004-06-08 08:17:34 +00:00
Vladimir Prus
ff9dd2da76 * build/project.jam (initialize): Don't call path.make when location is
empty (which happens for standalone projects such as stlport). Thanks to
Jurgen Hunold for the bug report.


[SVN r23051]
2004-06-08 05:57:29 +00:00
Vladimir Prus
280228bce3 * build/project.jam (initialize): Don't call path.make when location is
empty (which happens for standalone projects such as stlport). Thanks to
Jurgen Hunold for the bug report.


[SVN r23051]
2004-06-08 05:57:29 +00:00
Vladimir Prus
139a8a6c48 Some doc updates.
[SVN r23038]
2004-06-07 07:34:00 +00:00
Vladimir Prus
014e9d8e98 Some doc updates.
[SVN r23038]
2004-06-07 07:34:00 +00:00
Vladimir Prus
0a9ffafd85 Improvements in RC files support.
- Specialized RC->RES generators were added for msvc. This allows
  to invoke setup script before calling rc.exe, which adds necessary
  include paths.
- Includes scanner for RC files added.

Thanks to Alexey Pakhunov for the patch.


[SVN r23036]
2004-06-07 07:24:24 +00:00
Vladimir Prus
1ce06d9ca0 Improvements in RC files support.
- Specialized RC->RES generators were added for msvc. This allows
  to invoke setup script before calling rc.exe, which adds necessary
  include paths.
- Includes scanner for RC files added.

Thanks to Alexey Pakhunov for the patch.


[SVN r23036]
2004-06-07 07:24:24 +00:00
Vladimir Prus
882d62b6b9 Fix a couple of project.attribute calls. The method should not be called now,
and does not work, either. Thanks to Michael Stevens for the bug report.


[SVN r23023]
2004-06-04 12:57:48 +00:00
Vladimir Prus
1a2cf5ead1 Fix a couple of project.attribute calls. The method should not be called now,
and does not work, either. Thanks to Michael Stevens for the bug report.


[SVN r23023]
2004-06-04 12:57:48 +00:00
Christopher Currie
4476bbe622 Add option to inhibit non-PIC link warning on Solaris
[SVN r23020]
2004-06-03 15:14:04 +00:00