---------------------------------------------------
Or, how to install GCC compiler
*** Use this at your own risk ***
Get the following slackware packages from:
http://ftp.gwdg.de/pub/linux/slackware/ ... ackware/d/
and from:binutils-2.15.92.0.2-i486-2.tgz
gcc-3.3.4-i486-1.tgz
http://ftp.gwdg.de/pub/linux/slackware/ ... ackware/l/
glibc-2.3.4-i486-1.tgz
Put this in reach of a type 2 hdd install (I have put them on CD-R; so /mnt/cdrom/<tgzfile> for this howto)
boot Puppy Linux from hdd install. Open a terminal (rxvt). You should be in /root.
Save /etc because slackware files will destroy this?! I have not investigated this any further!
So here I will just repair it afterwards...
tar czvf etc.tgz /etc/*
Now install the 3 tgz files from above:
# change working dir to / ; must be in / !!
cd /
tar zxvf <tgzfile>
# important to run the slackware doinst script!
sh install/doinst.sh
# do this for all 3 tgz file
# now restore destroyed /etc files
tar zxvf /root/etc.tgz
--- DONE ---
This is enough to compile simple C apps. One would like to also install make; g++ etc. from slackware the same way...
Then probably X11 libs, GTK libs etc.
Here is a hardcopy: [img]http://www.geocities.com/petersieg/gcc50m102.jpg
[/img]
Attached is a c.zip file containing some simple c apps and splot, a tiny c+tcl/tk app. that is using tcl/tk as the frontend (by Matt Welsch).
PS