05-31-2022, 03:51 AM
(This post was last modified: 05-31-2022, 03:55 AM by DSMan195276.)
1. Documentation on the new build system is here, along with a bunch of other general information on the repository and how it gets built.
2. I've been working on a new dialog for setting the C++ compiler settings, I just merged it so it should be available in the next version of QB64. A screenshot of the dialog is below, the 'Compile program with C++ optimization flag' setting will use `-O2` (We'll work our way up to `-O3`, I'm still a little skeptical of `-O2` as it is The setting is off by default for now):
./setup_lnx.sh does not currently set it (which I think you'll want to do) but you can use the `EXTRA_CXXFLAGS` to provide it, as documented in the build system documentation.
Edit: Also note, I discovered a bug in `0.7.1` that the `Makefile` does not respect `EXTRA_CXXFLAGS`, sorry about that. The issue is already fixed in `main` and will be addressed in the next release. If you don't want to wait you could grab the latest `main` build to try it out.
2. I've been working on a new dialog for setting the C++ compiler settings, I just merged it so it should be available in the next version of QB64. A screenshot of the dialog is below, the 'Compile program with C++ optimization flag' setting will use `-O2` (We'll work our way up to `-O3`, I'm still a little skeptical of `-O2` as it is The setting is off by default for now):
./setup_lnx.sh does not currently set it (which I think you'll want to do) but you can use the `EXTRA_CXXFLAGS` to provide it, as documented in the build system documentation.
Edit: Also note, I discovered a bug in `0.7.1` that the `Makefile` does not respect `EXTRA_CXXFLAGS`, sorry about that. The issue is already fixed in `main` and will be addressed in the next release. If you don't want to wait you could grab the latest `main` build to try it out.