Commit graph

29 commits

Author SHA1 Message Date
Lephenixnoir
047a632509
bump to 14.1.0 and use soft-fp instead of fp-bit in libgcc 2024-07-05 20:48:28 +02:00
Lephenixnoir
91d2786895
manual install tutorial 2022-08-21 11:48:01 +02:00
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
b9b571d73c
create PREFIX/bin before symlinking binaries 2021-11-20 15:34:53 +01:00
Lephenixnoir
0c7154437d Merge pull request 'add command to download prerequisites' (#1) from Pavel/sh-elf-gcc:master into master
Reviewed-on: https://gitea.planet-casio.com/Lephenixnoir/sh-elf-gcc/pulls/1
2021-11-20 15:33:28 +01:00
Pavel
c7d1def359 add command to download prerequisites 2021-11-16 18:08:14 +01:00
Lephenixnoir
9be687a07a
libstdc++-v3: stdint.h, exceptions, and notes on hosted 2021-06-13 18:55:04 +02:00
Lephenixnoir
954e3ccd08
libstdc++-v3: the free-standing subset compiles 2021-06-13 18:07:27 +02:00
Lephenixnoir
9f33074c10
libstdc++-v3: some progress 2021-06-13 17:12:45 +02:00
Lephenixnoir
55017f002f
add notes on attempts at building libstdc++-v3 2021-06-13 16:34:11 +02:00
Lephenixnoir
1d344aa076
bump to 11.1.0 2021-05-04 20:06:33 +02:00
Lephenixnoir
0217f5399d
add a :noclean configuration to leave the build folder 2021-05-04 20:05:58 +02: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
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
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
2e85c7fbc4
support custom build configurations 2021-01-02 10:48:24 +01:00
Lephenixnoir
e2a9744f1e
manual build and README 2021-01-02 10:36:59 +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