Does anybody know how to install the files provided in the OLIMEX cd:
arm-linux-gcc-3.4.3-1.0.1.tar.bz2
crosstool-linux-gcc-4.0.1-glibc-2.3.5.tar.bz2
I think that they are the cross compiler for the ARM processor.
Thank You very much.
Does anybody know how to install the files provided in the OLIMEX cd:
arm-linux-gcc-3.4.3-1.0.1.tar.bz2
crosstool-linux-gcc-4.0.1-glibc-2.3.5.tar.bz2
I think that they are the cross compiler for the ARM processor.
Thank You very much.
I’d like to modify my /etc/profile like stated in the post , here’s the mine:
if [ “$PS1” ]; then
if [ “$BASH” ]; then
PS1='\u@\h:\w$ ’
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ “id -u
” -eq 0 ]; then
PS1='# ’
else
PS1='$ ’
fi
fi
fi
umask 022
please , can you tell me how to modify it to add permanently /opt/crosstool/gcc-4.0.1-glibc-2.3.5/bin to PATH, /opt/crosstool/gcc-4.0.1-glibc-2.3.5/man to MANPATH, and /opt/crosstool/gcc-4.0.1-glibc-2.3.5/info to INFOPATH ?
I’m a beginner with linux (UBUNTU 8.04) and embedded linux.
Thank you very much for your kindness.
My sister’s Gutsy Gibbon defines PATH in /etc/environment
There is no MANPATH variable
Directories for manual pages are configured in /etc/manpath.config
It doesn’t use INFOPATH as well
Info only searches in the default directories
You can create an INFOPATH variable in /etc/environment
If you add a trailing “:” to the string, you don’t need to repeat the default directories
Thank you so much. Now I own a full functional arm toolchain.
The detailed procedure that I’ve used is the following (under UBUNTU 8.04)
1)copy in “/home/caccolillo” the two files provided in the directory “cross_compiler” in the olimex cd
in a terminal window give “su” to become root
give “tar xjCf / arm-linux-gcc-3.4.3-1.0.1.tar.bz2” to extract the first file
give “tar xjCf / crosstool-linux-gcc-4.0.1-glibc-2.3.5.tar.bz2” to extract the second one
5)give “gedit /etc/environment” to open the text editor
append the string opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/bin on the tail of the first row where there’s “PATH=…” and save the file
close the terminal window
restart UBUNTU
in a terminal window give echo $PATH to check if there’s the new path previously added /opt/crosstool/gcc-4.0.1-glibc-2.3.5/ arm-unknown-linux-gnu/bin"
to compile for example the source file (present in the /home/caccolillo directory) “led.c” I must use the following command:
arm-unknown-linux-gnu-gcc -c led.c
not necessary
it installs usefull stuff into /usr/local/arm/3.4 and 79k mostly useless files into /opt/buildroot
missing at the beginning of the string
no need to restart Ubuntu, logout+login works as well