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

16 Commits

Author SHA1 Message Date
Tanzinul Islam
c7016328c3 Update "borland" toolset to bcc32c for building B2 (#680)
For bootstrapping `b2` itself, the current `borland` toolset is broken
now as `bcc32.exe` doesn't support C++11. Update that toolset to use
the Clang-based `bcc32c.exe`, which has largely the same cmdline args.
2020-12-14 11:36:54 -06:00
Rene Rivera
f414639736 Remove vc11 engine build. 2020-03-31 21:47:38 -05:00
Marcel Raad
3982f4808a Unbreak building from VS Preview command prompt (#549)
Commit de026bc61e changed the order to first detect the unusable vcunk
toolset before the vc142 and vc141 toolsets. This breaks building from
the Visual Studio Preview command prompt if no other Visual Studio
version is detected. Move the vcunk block down to where it was before
to restore this functionality.
2020-03-18 22:11:26 -05:00
Rene Rivera
76663ef722 Cleanup of Windows build scripts.
[skip travis]
2019-04-02 23:25:36 -05:00
Rene Rivera
5ee7ebcf16 Merge origin/develop 2019-03-20 19:38:36 -05:00
Tom Kent
de026bc61e Clear the error instead of not setting it.
Rearranged order for newest first.
2019-03-05 16:23:53 -06:00
Thomas Kent
0a93cc2b97 Added support for actually building with msvc-14.2 2019-03-01 16:06:03 -06:00
Tanzinul Islam
ccb9a97efb Fix build with Embarcadero C++ Builder ("borland" toolset) (#398)
* Fix "bootstrap.bat borland" failing to find label "Test_Path"

If an override toolset is given in the `bootstrap.bat` command-line,
`bootstrap.bat` -> `src/engine/build.bat` bypasses loading
`src/engine/guess_toolset.bat` entirely. Later on the call to
`Test_Path` from `build.bat` -> `config_toolset.bat` fails to find that
label.

Fix this by making a new parameterized entry-point `test_path` inside
`guess_toolset.bat` for this caller in `config_toolset.bat`.

Fixes: #382.

* Handle spaces in C++Builder toolchain path

Nowadays a default installation goes into %PROGRAMFILES%, e.g.
"C:\Program Files (x86)\Embarcadero\Studio\20.0\Bin".

* Add "-Nd" before "/D"-options for bcc32.exe

The preprocessor of the old Borland/C++Builder compiler (bcc32.exe) by
default does not accept preprocessor statements of the form:

    #if SYMBOL_NAME

where `SYMBOL_NAME` was `#define`-ed without a value. It insists on the
`#if defined(SYMBOL_NAME)` or `#ifdef SYMBOL_NAME` forms (emitting error
E2188 "expression syntax"). The workaround is to specify the `-Nd`
option before the offending `/D` options, which effectively provides a
value of "1" to the symbols being #define-ed. Apply this workaround in
the recipes of `bjam` and `b2` to satisfy the preprocessor.

The alternative here would be to migrate to the Clang-based (and much
more standard-compliant) bcc32c.exe, but that would be a more involved
change.

* Separate :Guess_Yacc logic from :Guess_Toolset in build.bat

This was an existing benign issue introduced in 00c2358, but it became
apparent after 9339693.
2019-02-26 19:32:53 -06:00
Rene Rivera
de23ca928f Compile fixes for Windows (msvc). 2018-10-22 22:15:06 -05:00
luzpaz
a2b8731d2a build: misc.typos (#341)
* build: misc.typos

Found via `codespell -q 3 --skip="./src/engine/boehm_gc" -L te,iff`

* Revert 3rdParty code changes
2018-09-26 09:54:06 -07:00
Refael Ackermann
dc9ecf3a71 fix regression from VS2017 detection 2017-06-27 10:46:26 -04:00
Refael Ackermann
6f63489198 Try to detect VS2017 using vswhere 2017-05-06 12:08:53 -04:00
Rene Rivera
838c622939 Remove use of VS2017 detection helpers in favor of ENV+path detection. 2017-04-05 16:50:53 -05:00
Arkadiy Shapkin
d2ff572c23 Fix error handling for VS2017 detection in GetCLPath.ps1. Closes #186 2017-03-30 12:32:13 +03:00
Thomas Kent
33024da7a8 Found changes moved out of build.bat 2017-03-20 21:45:31 -05:00
Arkadiy Shapkin
00c23580af Check Visual Studio 2017+ version in script
* Fixed `build.bat` stack overflow on some machines by splitting up to several files
* CSharp script simplified and now will check VC++ toolset version
2017-03-19 00:59:40 +08:00