As I told in comments, try
apt-get install gcc-arm-linux-gnueabi
or
apt-get install gcc-4.7-arm-linux-gnueabi
I also strongly recommend being able to compile an ordinary C program for your Linux system (i.e. learn the basics of gcc, make ... commands and how to use some editor like emacs or gedit ...) and the cross compiler you want also depends upon the system running on your SA1100 hardware board. Don't forget to pass -Wall to any GCC compilation. You probably want to be able to debug your program (pass -g to GCC at compilation, and use the gdb debugger). When your program is running well, compile it with -O2 to ask GCC to optimize its machine code.
Learn to use GNU make -e.g. to write Makefile-s- by reading its documentation and use the arm-linux-gnueabi-gcc as the cross-compiler program. (You might want to use remake to debug your Makefile-s when make does not help enough)
You can get the list of files installed with a package with e.g. dpkg -L gcc-arm-linux-gnueabi
A cross compiled program executable for ARM very probably needs a Linux kernel with some libc (or link it statically) at least on the ARM motherboard, and you need some way to transmit the binary program from the Linux desktop to the ARM hardware.
apt-get install gcc-arm-linux-gnueabiorapt-get install gcc-4.7-arm-linux-gnueabi? I also strongly recommend being able to compile an ordinary C program for your Linux system (i.e. learn the basics ofgcc,make... commands and how to use some editor likeemacsorgedit...) and the cross compiler you want also depends upon the system running on your SA1100 hardware board. – Basile Starynkevitch Feb 17 '13 at 13:56gcc -o hello hello.c. I already triedapt-get install gcc-arm-linux-gnueabiand installed but cross compiling still doesn´t work. I want to cross compile the programs with (for example)arm-unknown-linux-gnu-gcc -O2 -Wall -o hello hello.cbut it tells me the command couldn be found. Can you also tell me whatmakeis for? Thank you, I appreciate your help! – n00b1990 Feb 17 '13 at 14:44gcc -Wall -g hello.c -o hello; Aboutmake, read gnu.org/software/make/manual/html_node/index.html and use thearm-linux-gnueabi-gccprogram as your cross-compiler – Basile Starynkevitch Feb 17 '13 at 14:47dpkg -L gcc-arm-linux-gnueabito learn about the files installed by packagegcc-arm-linux-gnueabi– Basile Starynkevitch Feb 17 '13 at 14:53