mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:47:45 +00:00
Meta: Update build instructions to build GCC with --with-newlib.
This commit is contained in:
parent
49e7ffc06a
commit
dbf5a7e4a6
1 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
Let's start with a quick guide to building the i686-pc-serenity toolchain.
|
||||
|
||||
I keep my toolchain in /opt/cross (so /opt/cross/bin needs to be in $PATH) and my Serenity sources are in /home/andreas/src/serenity
|
||||
I keep my toolchain in /opt/cross (so /opt/cross/bin needs to be in $PATH) and my Serenity sources are in $HOME/src/serenity
|
||||
|
||||
You need to adjust these so they fit your system.
|
||||
|
||||
|
@ -27,7 +27,7 @@ In the build directory, run configure:
|
|||
../binutils-2.32/configure \
|
||||
--prefix=/opt/cross \
|
||||
--target=i686-pc-serenity \
|
||||
--with-sysroot=/home/andreas/src/serenity/Root \
|
||||
--with-sysroot=$HOME/src/serenity/Root \
|
||||
--disable-nls
|
||||
|
||||
|
||||
|
@ -61,7 +61,8 @@ In the build directory, run configure:
|
|||
../gcc-8.3.0/configure \
|
||||
--prefix=/opt/cross \
|
||||
--target=i686-pc-serenity \
|
||||
--with-sysroot=/home/andreas/src/serenity/Root \
|
||||
--with-sysroot=$HOME/src/serenity/Root \
|
||||
--with-newlib \
|
||||
--enable-languages=c,c++
|
||||
|
||||
Then build and install:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue