Colin Finck
f6ed3852cc
[ROSBE-UNIX] Call Python explicitly instead of relying on the shebang.
...
This fixes build on NixOS according to Hervé Poussineau.
We already check for "python" as part of `rs_needed_tools`, so this is guaranteed to exist.
2021-06-17 20:36:33 +02:00
Colin Finck
be82770b2b
[ROSBE-UNIX] Only check for root on an interactive installation.
2021-06-17 20:29:18 +02:00
Colin Finck
ee9cf1817a
[ROSBE-UNIX] Delete Debian packages again, Launchpad doesn't build these.
...
We restrict us to Ubuntu packages for now, which is what all our servers use anyway.
2020-06-11 18:47:04 +02:00
Colin Finck
4a8da49cdc
[ROSBE-UNIX] Also build packages for Debian 9/10 and Ubuntu 20.04
2020-06-11 18:28:26 +02:00
Colin Finck
aff79fe611
[ROSBE-UNIX] Add a script and required files to build a DEB source package.
...
I plan to upload that to Launchpad and have official RosBE-Unix packages hosted there.
Only Ubuntu 18.04 (bionic) is supported for now, but it's easy to add more distros.
2020-06-11 16:26:22 +02:00
Colin Finck
d3a71e5b89
[ROSBE-UNIX] Fix broken installation directory check.
2020-05-31 11:40:13 +02:00
Colin Finck
591ab8dc0c
[ROSBE-UNIX] Restore --enable-version-specific-runtime-libs, reduce diffs to Buildtoolchain.
2020-05-31 11:31:35 +02:00
Victor Perevertkin
3578ee350b
[ROSBE-UNIX] Inherit user's .bashrc file ( #8 )
...
Add an identification to terminal prompt
2020-05-27 08:49:33 +02:00
Colin Finck
7e3c5fc15a
[ROSBE-UNIX] Update to CMake 3.17.2-ReactOS in the README files.
2020-05-26 08:42:02 +02:00
Colin Finck
24811288ad
[ROSBE-UNIX] Create the no longer existing "tools" directory in makepackage.sh.
2020-05-25 20:09:44 +02:00
Colin Finck
0db6c2d5a8
[ROSBE-UNIX] Fix Bison breaking when the RosBE-Unix installation directory is relocated.
2020-05-25 18:47:24 +02:00
Colin Finck
420fbddba3
[ROSBE-UNIX] Improve some more texts of my younger self.
2020-05-24 20:28:00 +02:00
Colin Finck
fe3a75d335
[ROSBE-UNIX] Remove no longer used execute_hooks() function.
2020-05-24 20:04:26 +02:00
Colin Finck
8cbbb98a97
[ROSBE-UNIX] Show more information when using the version
command.
2020-05-24 19:55:13 +02:00
Colin Finck
8a60cda1f0
[ROSBE-UNIX] Remove the update logic and simplify a lot of code.
...
There has hardly been a case where you could update from one RosBE-Unix to another without a full reinstallation.
Even then, I often cannot guarantee that the update installation is as clean as a new installation.
2020-05-23 20:49:52 +02:00
Colin Finck
ba3b975184
[ROSBE-UNIX] Remove no longer needed rs_do_command_can_fail()
2020-05-23 19:13:40 +02:00
Colin Finck
8d953dd8a6
[ROSBE-UNIX] Fix-up host and target compilers/flags, expect -march=native, simplify code
...
I couldn't get RosBE-Unix 2.2.x to compile with GCC 4.x, so the earliest supported GCC version will surely support -march=native.
These changes allow me to build RosBE-Unix under macOS 10.11.6.
2020-05-23 19:07:54 +02:00
Colin Finck
0429fa773b
[ROSBE-UNIX] Fix CMake build under macOS by leaving out -Wl,-S in compiler flags.
...
This is again a very interesting bug with an equally interesting solution :)
CMake checks for C++11 support of the host compiler during build by compiling a simple test program.
Any warning here means that C++11 is not supported.
However, our default compiler flags used to contain -Wl,-S which isn't supported under macOS.
Therefore every such check used to fail.
We can simply leave it out for all platforms, because binaries are stripped anyway on supported platforms.
2020-05-13 21:56:58 +02:00
Colin Finck
ecd8b59e01
[ROSBE-UNIX] Don't modify $PATH where it isn't needed anymore or where we have better alternatives.
...
Should fix building RosBE-Unix on NixOS. Thanks to hpoussin for testing!
2020-05-10 19:03:58 +02:00
Colin Finck
d50dba3fbf
Fix some oversights and bad English of my younger self, add Victor to credits, and prepare for RosBE-Unix 2.2.1.
...
The next version will be released when all reported RosBE-Unix 2.2 build problems are fixed.
2020-05-06 21:59:21 +02:00
Colin Finck
131941d5ad
[ROSBE-UNIX] Looks like re2c isn't required after all, so don't depend on it.
2020-05-03 13:13:30 +02:00
Colin Finck
3701d25fc2
[ROSBE-UNIX] Remove last traces of make
and our supplemental buildtime
tool.
2020-04-29 20:43:11 +02:00
Colin Finck
7e3502b711
[ROSBE-UNIX] Fix banner message for version 2.2.
2020-04-29 20:34:41 +02:00
Colin Finck
6bdffacac2
[ROSBE-UNIX] Update toolchain versions in README files.
2020-04-29 18:48:53 +02:00
Victor Perevertkin
4ae0aa250b
[ROSBE] Build GCC with --enable-sjlj-exceptions.
...
In fact it was built like that before as well
(probably because GCC 4.7.2 don't support dwarf2 exceptions)
Binaries built with RosBE and dwarf2 exceptions don't work for some unknown (yet) reason
2020-04-14 20:39:44 +03:00
Bișoc George
f92810667b
[ROSBE-UNIX] Accept Yes/No answers with upper case letters ( #6 )
...
So far, the script can only check if the user answered yes or no, without capital letters. That would make the script exit unexpectedly if the user, for instance, answered Yes or YES in the input.
2019-12-25 08:11:51 +01:00
Colin Finck
ea1bf6c96b
[ROSBE-UNIX] Update sanity checks in makepackage.sh
2019-12-24 17:46:19 +01:00
Colin Finck
8b87343a63
[ROSBE-UNIX] Update README and add .gitignore
2019-12-24 08:49:27 +01:00
Colin Finck
d038b08449
[ROSBE-UNIX] Add the now required "m4" dependency for building Bison.
2019-12-22 16:35:10 +01:00
Colin Finck
ea95958359
[ROSBE-UNIX] Don't export the CC and CXX variables, this clashes with the mingw-w64 build inside the gcc build.
2019-12-22 16:34:22 +01:00
Colin Finck
cad8abbf82
[ROSBE-UNIX] Build CMake explicitly without SSL support.
...
This is required since dd3e476786
We are not using CMake to download anything anyway.
2019-12-22 13:54:07 +01:00
Colin Finck
37996df78d
[ROSBE-UNIX] Simplify CFLAGS handling and also add CXXFLAGS (for at least CMake).
2019-12-22 13:50:09 +01:00
Colin Finck
f21d53435f
[ROSBE-UNIX] Add Bison 3.5, Flex 2.6.4+ (latest Git), and update to CMake 3.16.2.
...
Latest Flex 2.6.4 release version doesn't build under Ubuntu 18.04, so I had to take the cutting-edge version.
Unrelated of this change, we also don't have a Bison and Flex build dependency anymore.
New packages are available at https://svn.reactos.org/RosBE-Sources/rosbe_2.2
2019-12-22 12:55:03 +01:00
Colin Finck
4fad91d378
Update README files for the RosBE-Unix 2.2 release.
2019-10-20 12:39:28 +02:00
Colin Finck
698e293982
Prepare the scripts for the RosBE 2.2 release.
2019-10-20 12:35:11 +02:00
Colin Finck
c88f8d0be9
[ROSBE-UNIX] Sync ./configure parameter order with Buildtoolchain to reduce diffs.
2019-08-19 09:17:01 +02:00
Colin Finck
7b11da43d6
[SETUPLIBRARY] Fix package extraction to work directory.
2019-08-19 09:09:08 +02:00
Colin Finck
8822818ed1
[ROSBE-UNIX] Adapt RosBE-Windows Buildtoolchain's commands for building the new Binutils/GCC/Mingw-w64/... toolchain to RosBE-Builder.sh
2019-08-18 16:05:59 +02:00
Colin Finck
b1e2dad373
[SETUPLIBRARY] Check the $rs_process_* variable only in rs_prepare_module and extract unconditionally in rs_extract_module.
...
This no longer requires an rs_process_* variable for GMP, MPC, and MPFR, which makes no sense anyway, because they are always needed for building GCC.
2019-08-18 16:00:25 +02:00
Colin Finck
05a7fa2395
[ROSBE-UNIX] Sync setuplibrary.sh changes from Buildtoolchain.
2019-08-18 15:28:18 +02:00
Pierre Schweitzer
b96a3ceb44
[ROSBE-UNIX] Bump Ninja & CMake release
...
Feel free to test here: https://www.heisspiter.net/~Pierre/RosBE-Unix-2.2.tar.bz2
2019-04-28 14:56:30 +02:00
Pierre Schweitzer
63b5b0cc48
[ROSBE-UNIX] Don't display misleading information if pkg-config is missing
...
Patch by Jyrki Jaakkola
ROSBE-93
2019-04-27 15:14:22 +02:00
Pierre Schweitzer
b07fef4e13
[ROSBE-UNIX] Fix missing fi
2019-04-27 15:10:11 +02:00
Pierre Schweitzer
8b26f07c6b
[ROSBE-UNIX] Look for find, bzip2 and tar
...
ROSBE-82
2019-04-27 15:09:21 +02:00
Pierre Schweitzer
48bc4831ee
[ROSBE-UNIX] Add initial work towards 2.2 release
2019-04-27 14:55:52 +02:00
Colin Finck
16bc984fda
Revert "Check for "pkg-config" too, because it is used to find zlib and not guaranteed to be available."
...
This reverts commit 2ebb075d4b
, because we already check for pkg-config in a more proper way since 0f8c9bac3e
(SVN r2255).
2018-09-18 19:51:25 +02:00
Colin Finck
c5de2692ee
Update README files.
2018-08-21 12:05:53 +02:00
Colin Finck
2ebb075d4b
Check for "pkg-config" too, because it is used to find zlib and not guaranteed to be available.
2018-08-21 12:00:07 +02:00
Colin Finck
d1c09dc235
Remove last remainder of "make" in the RosBE Builder script.
2018-08-21 11:44:39 +02:00
Dennis Luxen
5d9afaa437
Remove make from toolchain as CMake is used
2018-08-20 18:52:49 +02:00