Commit graph

9 commits

Author SHA1 Message Date
Lephenixnoir
26affe51cf
new build system for fxSDK sysroot and libstdc++-v3
The main change is making the scripts a two-stage process where we
first build GCC, leave the user to install the libc, and then come back
to install libstdc++-v3.

* Detect whether we are in the first or second stage
* Don't clean files after first stage install, and even then only do it
  if :clean is specified
* Update README except for the manual install tutorial
* Patch the source using a backported GCC 12.1 commit to make the
  configure script for libstdc++-v3 skip checking for dlopen, which is
  impossible is our not-really-hosted setup

Details:
* Proper .gitignore
2022-08-19 15:23:21 +02:00
Lephenixnoir
e50b17396a
detect core number with sysctl on Darwin 2022-02-18 08:57:22 +01:00
Lephenixnoir
aa09965a6d
build: use gmake on OpenBSD 2021-03-18 14:25:27 +01:00
Lephenixnoir
49de34fe9e
build: obtain number of cores in an OpenBSD-compliant way 2021-03-18 14:24:13 +01:00
Lephenixnoir
4e3a4abc9b
avoid rebuilds during updates 2021-01-08 10:00:34 +01:00
Lephenixnoir
23e34b8e7b
split off binutils into a separate repository 2021-01-02 00:13:11 +01:00
Lephenixnoir
5983cce9fa
(rename fxSDK -> GiteaPC to keep the builder independent) 2021-01-01 15:32:47 +01:00
Lephenixnoir
7c93dd5fe9
strip binaries after install
About a 86% decrease in size (338 MB -> 45 MB)
2020-12-30 23:25:05 +01:00
Lephenixnoir
6cbd8270ca
initial building script
* Try to check dependencies with pacman or apt
* Download and extract archives (supporting gzip and xz)
* Configure and build GCC and binutils (redirecting output to file,
  hoping that everything goes well)
* Clean up uneeded files after building
* Check for conflicting builds of sh-elf-gcc in the PATH
* Offer to update the profile to set the PATH at login
2020-12-30 23:03:15 +01:00