The following steps are needed to get gcc and friends running on your eeePC (¿which eeePC models does this apply to?)
ftp://ftp.nl.debian.org/debian
at the place where it says <your mirror goes here>, but if you are not in NL you should find a closer mirror (could also be an http mirror). Note that the < and > symbols should be removed so for NL the line should read:
deb ftp://ftp.nl.debian.org/debian etch main contrib non-free
Alternately you may want to go for these:
The above instructions do not state which model they apply to, and do not work on at least one Surf 2G (Black). However, with modification, they are close. Specifically:
apt-get install build-essential
this simply gives warnings; it is still needed but one must then enter the command
apt-get -f install
and then (after that installs some packages) re-enter the command:
apt-get install build-essential
After that installs more packages, GCC is available from the command line and works. (Reply Y to questions from above commands.)
As far as I know the issues described here has only been verified on the 901, but it might as well be affecting the whole 900 series. If you have upgraded to FlashPlayer10 or Firefox3 you will be unable to install build-essential because it breaks its dependencies. (This also happens if you upgrade FlashPlayer/ Firefox after installing build-essential)
Then do the rest as described.
Note: You might as well install “libncurses5-dev” with build-essential if you want to do “make menuconfig” later on.
As with the 2G instructions above, though no error given with
apt-get install build-essential
it goes straight through.
As above “After that installs more packages, GCC is available from the command line and works. (Reply Y to questions from above commands.)”
Remember to # out the line in /etc/apt/sources.list that you added above
deb ftp://ftp.nl.debian.org/debian stable main contrib non-free
in case you forget and end up breaking your system by installing incompatible upgrades.
Adding the Debian repositories as described above is convenient to get basic tools like GCC, but is potentially unsafe if things like developer versions of system libraries are required. For example, many games require the SDL library, and compiling them requires the libsdl-dev package. Attempting to install this from Debian repositories risks overwriting the installed libsdl package with the Debian version. Overwriting the Eee versions of some libraries can cause major problems for your system.
However, help is at hand. Asus have released an SDK for the Eee, which includes far more packages than are installed by default, including all of the missing developer tools and libraries.
The snag is that the SDK is only available as a DVD image. However, the files are still usable, and there is no need to burn a DVD. You will need 1.4GB of spare disk space, which can be on an SD card or USB drive if you do not have enough space available on your internal storage.
These instructions have been tested on an Eee 901 freshly restored to factory settings.
sudo mount -o loop /path/to/EeePC-SDK-2008.04.24_19.46.iso /mnt
deb file:/mnt xandros5.0 main contrib non-free
sudo apt-get update
sudo apt-get install build-essential
If you do not plan to keep the DVD image mounted permanently, you probably want to comment out the line in your sources.list file to avoid errors from apt-get in future. To do this, simply add a # character at the start of the line, and run
sudo apt-get update
again. Whenever you want to install from the DVD image, simply repeat the steps to mount the DVD image, add the repository, add packages, and remove the repository when done.
You can create applications for linux, mac and windows using the REALbasic IDE. The version 2006r4-2 is not the most recent one but working (www.geekconnection.org). It runs under Xandros (the default Eee-PC OS) and the linux version seems to be free of charge.