Commit Graph

12 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
Pavel c7d1def359 add command to download prerequisites 2021-11-16 18:08:14 +01:00
Lephenixnoir 85f87acb15
remove build folder when deciding to skip build, take 2 2021-03-23 15:33:07 +01:00
Lephenixnoir 2d8919397f
configure: find GMP, MPFR and MPC in /usr/local on OpenBSD 2021-03-18 14:53:22 +01:00
Lephenixnoir b241b246ea
configure: do not assume GNU tar -J to decompress archive 2021-03-18 14:22:19 +01:00
Lephenixnoir cdc1ac5da9
remove build folder when deciding to skip build 2021-02-05 16:12:18 +01:00
Lephenixnoir ba14e905f3
add an `any` configuration that uses existing GCC installs 2021-01-14 19:14:12 +01:00
Lephenixnoir 4e3a4abc9b
avoid rebuilds during updates 2021-01-08 10:00:34 +01:00
Lephenixnoir 959402208f
override existing links at configure and install 2021-01-04 14:11:25 +01:00
Lephenixnoir 0400e3c470
explicitly link previously-built binutils to GCC 2021-01-02 22:48:31 +01: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