updated file structure

This commit is contained in:
Chris
2026-04-10 15:40:10 +00:00
parent ead22ba707
commit c9d5705ae8
10 changed files with 342 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#!/bin/bash
BINUTILS_VERSION=$1
export PREFIX=$2
#export TARGET=x86_64-elf
export TARGET=i686-elf
export PATH="$PREFIX/bin:$PATH"
cd $PREFIX/src
mkdir build-binutils
cd build-binutils
../binutils-${BINUTILS_VERSION}/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot --disable-nls --disable-werror
make -j `nproc`
make install
cd $PREFIX/src
#rm -rf build-binutils.sh binutils-${BINUTILS_VERSION}
# rm -rf build-binutils