yannmagnin / sh-elf-vhex Goto Github PK
View Code? Open in Web Editor NEWCustom GCC compiler for the Vhex project
Custom GCC compiler for the Vhex project
The first user validation seems ignored using the curl
method
I have created the release/v1.4
branch for the next version development. The master
branch is for the 1.3
maintenance development.
sh-elf-vhex
1.4
is will enter to feature freeze the 2023-12-01
. The release is scheduled for the 2023-12-02
. This deadline is at the moment only a rough estimate and might change in the future.
Handle bootstrap script to be executed in the cloned prefix
Use curl -fsSL https://raw.githubusercontent.com/YannMagnin/sh-elf-vhex/HEAD/scripts/bootstrap.sh
to fetch the content
quiet
-> callcmd
run_normally
run_quietly
Fedora do not have gcc
installed by default, the configuration fail.
Force gcc
as dependency list in binututils
configuration step.
! edit
On fedora we have the libgcc that is installed without gcc, change the way dependency are installed
gcc-c++
dependency--version
supportfunction xxxx() { ;; }
SHELFVHEX_BOOTRAP_RUN=1
maybe ?)https://github.com/YannMagnin/sh-elf-vhex/blob/release/v2.0/scripts/bootstrap.sh#L65
Move all "exposed" operation install.sh
, uninstall.sh
and Makefile
to the bootstrap script
scripts/install.sh
-> scripts/_install.sh
scripts/uninstall.sh
-> scripts/_uninstall.sh
~/.local/share/sh-elf-vhex
~/.local/share/sh-elf-vhex
folderAllow, using curl
-like operation, the project installation using the last supported version of GCC
curl -s "https://github.com/YannMagnin/sh-elf-vhex/+/HEAD/scripts/install.sh?format=TEXT" | base64 --decode | bash
Removing the use of utils_callcmds
since the _utils.sh
cannot be loaded here
https://github.com/YannMagnin/sh-elf-vhex/blob/master/scripts/bootstrap.sh#L78
Explicit operation by using scripts/install.sh
or scripts/uninstall.sh
scripts/_install.sh
scripts/_uninstall.sh
scripts/_install.sh
-> scripts/install.sh
scripts/_uninstall.sh
-> scripts/uninstall.sh
$makecmd
Is possible that the gcc.gnu.org
website is down.
Allow warning error instead of kill the process
scripts/gcc/config: 114: ./contrib/download_prerequisites
VHEX_VERBOSE
env varfunction xxxx() { ;; }
utils_get_env()
Rename the default sysroot to _sysroot
scripts/binutils/configure
-> scripts/_utils
utils_pkg_install
binutils
configurationgit
dependency check in install.sh
build
-> _build
vxlibc
-> _vxlibc
Support MacOS
brew
is installedChange the current curl request to:
curl 'https://api.github.com/repos/YannMagnin/sh-elf-vhex/contents/scripts/bootstrap.sh' | jq -r '.content' | base64 --decode | bash
Remove the vxSDK
support for now to allow this project to be completly build using only bash scripts.
scripts/_install.sh
scripts/_uninstall.sh
scripts/binutils/configure.sh
scripts/binutils/build.sh
scripts/gcc/configure.sh
scripts/gcc/build.sh
vxSDK
workaroundvxOpenLibm
installationfxlibc
installationCheck if the sh-elf-vhex-gcc
exists instead of if we are in the cloned prefix
https://github.com/YannMagnin/sh-elf-vhex/blob/master/scripts/bootstrap.sh#L68
Change the download location to be compliant with Windows internal path
/tmp/sh-elf-vhex/
to <sh-elf-vhex folder>/_cache/
_utils.sh
--purge
option to support self-removing (rm -rf ~/.local/sh-elf-vhex)12.x
will never be supportedvxLibx
and vxOpenLibm
makecmd
which auto handle core handlingcores
informationcallcmd
which auto handle VERBOSE
env varProjects
Proper bump compatibility to GCC 13.2.0
and bintuils 2.41
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.