As seen in the previous section, we need ppp for transferring data packets from one point to another point. An implemention of this protocol is the one, we compile in this section. Additionally, we need a patch for getting the source compiled.
But first, we need to download the appropriate source package:
|
Next, fetch the needed patch (assuming your pwd
points to
/Dreamcast/SRC):
$ wget http://www.tu-bs.de/~y0018536/dc/src/\ ppp-2.4.1-uclibc-dreamcast.patch
The patch corrects some problems with the strip
command.
This program is used for removing some information needed for
debugging a program. Since we need really small programs,
we just remove such sections.
Now, we're ready to compile ppp-2.4.1
:
$ cd ../BUILD $ tar -xvzf ../SRC/ppp-2.4.1.tar.gz -C . $ cd ppp-2.4.1 $ patch -p1 < ../../SRC/\ ppp-2.4.1-uclibc-dreamcast.patch $ ./configure $ make CROSS=$UCLIBC/usr/bin/ all $ su -c "make DESTDIR=/home/christian/Dreamcast/\ INITRD install" $ cd ../../SRC
If you really want to save space, you can delete the programs pppstats
and
pppdump
from your initial ramdisk. Both programs are needed for debugging
a connection or for billing information.