-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from panix-os-dev-team/dev
Dynamic Memory Completed (Merge dev into stable)
- Loading branch information
Showing
64 changed files
with
2,350 additions
and
1,017 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,10 @@ | |
*.raw | ||
*.elf | ||
.DS_Store | ||
|
||
# Ignore build directories | ||
obj/ | ||
dist/ | ||
|
||
# Serial Output | ||
com1.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
image: docker.pkg.github.com/panix-os-dev-team/panix/panixbuild:1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"C_Cpp.dimInactiveRegions": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
FROM debian:stable-slim | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
--no-install-recommends \ | ||
build-essential \ | ||
bison \ | ||
ca-certificates \ | ||
flex \ | ||
libgmp3-dev \ | ||
libmpc-dev \ | ||
libmpfr-dev \ | ||
texinfo \ | ||
wget \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
ENV PREFIX="/opt/cross" | ||
RUN export TARGET=i686-elf && \ | ||
export MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)" && \ | ||
mkdir -p "$PREFIX" && \ | ||
mkdir src && \ | ||
cd src && \ | ||
wget -nv https://ftp.gnu.org/gnu/binutils/binutils-2.35.tar.gz && \ | ||
wget -nv https://ftp.gnu.org/gnu/gcc/gcc-9.3.0/gcc-9.3.0.tar.gz && \ | ||
tar -xf binutils-2.35.tar.gz && \ | ||
tar -xf gcc-9.3.0.tar.gz && \ | ||
rm binutils-2.35.tar.gz && \ | ||
rm gcc-9.3.0.tar.gz && \ | ||
mkdir build-binutils && \ | ||
ls && \ | ||
cd build-binutils && \ | ||
../binutils-2.35/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot --disable-nls --disable-werror && \ | ||
make && \ | ||
make install && \ | ||
cd .. && \ | ||
mkdir build-gcc && \ | ||
cd build-gcc && \ | ||
../gcc-9.3.0/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --without-headers && \ | ||
make all-gcc && \ | ||
make all-target-libgcc && \ | ||
make install-gcc && \ | ||
make install-target-libgcc && \ | ||
cd .. && \ | ||
rm -rf build-gcc && \ | ||
rm -rf build-binutils | ||
ENV PATH "$PREFIX/bin:$PATH" |
Oops, something went wrong.