working compiler instructions

This commit is contained in:
Ada Orbit 2026-04-05 22:21:03 +02:00
parent 6f94e52d07
commit 9836a9e372
6 changed files with 22 additions and 13 deletions

View file

@ -109,7 +109,7 @@ make -j$(nproc) all-gcc all-target-libgcc
make install-strip-gcc install-strip-target-libgcc # TODO: may need to add Ada stuff?
```
We now have successfully corss compiled gcc. However we still need to add a libc and compile gnat.
We now have successfully cross compiled gcc. However we still need to add a libc and compile gnat.
For that we will have to install the required headers into the correct coresponding direcotry
```bash
@ -142,16 +142,6 @@ make -C gcc cross-gnattools
make install-strip
```
Now we install the actual libc
```bash
# git clone https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
# cd fxlibc
# cmake -B build-gint -DFXLIBC_TARGET=gint -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-sh.cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" #instead of Sysroot use lib/gcc/15.2.0
# make -C build-casiowin-cg #casiowin-cg does not work? using gint instead
# make -C build-casiowin-cg install
```
> [!NOTE]
> There is also gint and vhex form the repo but those target also other calculators that I don't have access to.
> For my own sanity sake I'll just stick with the casiowin-cg
@ -180,7 +170,6 @@ make
make install/local
```
## Adding our custom compiler to GPRBuild
TODO: look into ironclad gprbuild integration