Install arm-linux-gcc

WdeJ
Im very new in Linux and i want to install gcc on my mini2440 to compile C
files. The arm-linux-gcc-4.3.2.tgz must be copied from my PC to the /tmp
directory of my mini2440.I read the instruction but donīt know how to do
this:

Copy it to a convenient place like /tmp. You will need
to be the super user to do this. 

Can i do this with dnw.exe, and how can i do that. 

Please HELP ME

open-nandra
For compilation you don't need to copy gcc to your mini2440. Just enought
to have it on PC. When you would like to run executable on mini2440 you
need to have correct libraries.

WdeJ
Thanks for your answer. I have tried this and found an example from another
site (see attachement). I have installed virtual box and ubuntu 9.10. I
copied the arm-linux-gcc-4.3.2.tgz file to the /tmp folder of the linux
filesystem. And perform the first steps of the install description. without
problems exept in step 3. I think there is an error in step 3, this must be
"# mkdir /usr/local/arm/4.3.2#". After that i open the .bashrc file with vi
and add the line ("export PATH=$PATH:/usr/local/arm/4.3.2/bin" see step 2)
to this file. After that i restart ubuntu and check if the command works (#
arm-linux-gcc -v). But i get the error message "arm-linux-gcc: command not
found". Then i type "CD /usr/local/arm/4.3.2/bin" and after that "ls" to
see if the file "arm-linux-gcc" excist, and the answer is yes. Then i try
to run the command from this folder, and i get the same error message
"arm-linux-gcc: command not found". What iīm doing wrong? I spend many
hours to try this, and searching for solutions.

Please help me.

jrh_engineering
The tgz file needs to be unpacked.  It is like a .zip file in Windoze.  I
don't see where you have mentioned where you unpacked your .tgz file.  That
is the line which instructs:

tar xvzf arm-linux-gcc-4.3.2.tgz -C/

To check if the /bin folder is in your path:

$ echo $PATH | grep usr/local/arm/4.3.2/bin
or just 
$ echo $PATH 
and find your folder.

If the path is correct try:
$ which arm-linux-gcc

If these don't work try:
$ cd /usr/local/arm/4.3.2/bin 
to see if the directory is even there.

The site I mention below asks you to do the following before unpacking your
.tgz file:

$ chmod +x *.tgz

If the files did not unpack correctly, you might try that.

I recommend you get your instructions from this site:

http://equallybad.blogspot.com/2010/02/project-how-to-setup-default-dev-...

jrh_engineering
btw: The site I mentioned above also tells you which dependencies you need
to download to make the other executables work properly.

james