git clone binutils-gdb
cd binutils-gdb
mkdir build-gdb
cd build-gdb
-
../configure --target=i386-pc-linux-gnu \ --prefix="/home/.../DuckOS/DuckOS-gdb" \ --with-python=yes --enable-tui \ --with-curses --disable-nls \ --disable-werror --disable-gas \ --disable-binutils --disable-ld \ --disable-gprof
make
- If 6 fails, install any missing libraries, try 6 again.
make install