Update build system

- build-aux.py:
  - Remove commented line
  - Expose '-' for stdin/stdout in setvars (it was implemented but not exposed)

- Makefile:
  - Default to gcpp as preprocessor instead of mcpp.

- BUILD_GUIDE.md:
  - Now both Python 2 and 3 can be used, so remove the version requirement.
  - mcpp is not available in precompiled form for newer Mac processors, so indicate cpp instead.
  - Explain how to modify Makefile for mcpp.
  - Other minor changes
This commit is contained in:
Sei Lisa 2021-12-20 18:36:34 +01:00
parent 071b19d160
commit 0040fbea18
3 changed files with 18 additions and 16 deletions

View file

@ -2,18 +2,18 @@
# Full path to Python. For Windows this is typically
# C:\Python27\python.exe; if it is in your path you don't need to change it.
PYTHON=python
PYTHON=python3
# Full path to main.py in the optimizer. Depends on where it was unpacked.
OPTIMIZER=/l/pyoptimizer/main.py
# Which preprocessor to use. Use 'gcpp' for GNU cpp (typical on Linux);
# Which preprocessor to use. Use 'gcpp' for GNU cpp (typical on Linux/OSX);
# use 'mcpp' for mcpp.
PREPROC_KIND=mcpp
PREPROC_KIND=gcpp
# Full path to the preprocessor. Depends on where you have downloaded it.
# If the preprocessor is mcpp and it is in your path, you can leave it as is.
PREPROC_PATH=mcpp
# If the preprocessor is GNU cpp and it is in your path, leave it as cpp.
PREPROC_PATH=cpp
# Full path to the zip program (zip.exe for Windows). Depends on where you
# have downloaded it. If it is in your path you don't need to change it.