Commit Graph

3 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 23e34b8e7b
split off binutils into a separate repository 2021-01-02 00:13:11 +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