raedbenz:
Q1.I completed the unpacking. After that what are other procedures i have to do? (i think like adding the PATH, .bashrc, etc…)
You can add /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, but it will work without.
Q2. I found i text file “arm-unknown-linux-gnu.crosstoolconfig.txt” contains many deatils like
.
TARGET=arm-unknown-linux-gnu
TARGET_CFLAGS=-O
.
.
These are the options that were used to build the package with [crosstool.
does this mean that whenever i want to compile a code lets say “LED.c”
raedbenz:
how can i know if the PATH is correctly added? may be thats the problem
```
echo $PATH
Did you execute arm-unknown-linux-gnu-gcc in the same shell where you entered the export command?
To make it permanent it must be added to /etc/profile
raedbenz:
how can i know if the PATH is correctly added? may be thats the problem
```
echo $PATH
Did you execute arm-unknown-linux-gnu-gcc in the same shell where you entered the export command?
To make it permanent it must be added to /etc/profile
Hi thanks a lot it works fine now..
more over.
Q1. some times when i type "echo PATH " i get only the word PATH, why?
Q2. is there a configuration file that i can edit it, and change the command from arm-unknown-linux-gnu-gcc to sthg simpler like ```
arm-linux-gcc
Q3. do i have to specify the architecture of target e.g. for ARM EP93xx, using the "-mcpu=arm920t"?
thanks
which directories of my kernel mentions the supported libraries for my Architecture? You mean which libraries are on your flash?
yes i mean the libraries on flash.
Q2. Can i send this executable (a.out) to the /tmp directory as mentioned in the pdf file above(middle of page 4) using serial port? if yes how?
Assume i send the executable (a.out) to the /tmp directory using a RS232 for time being?? Bcoz i want to run on my Olimex board CS-E9302 a simple task, like flashing LED, do u have any idea how(where are the files that control the GPIO of the ARM)?
Q3. do i have to specify the architecture of target e.g. for ARM EP93xx, using the “-mcpu=arm920t”?
Use -march=ep9312 (there is no -march=ep9302).
Hi daniel
why u told me not to use “-mcpu” option and to use “-march” ? based on what exactly?
Moreover, my busybox installed, if u type “help” u see all supported commands.here they are:
~ # help
Built-in commands:
-------------------
\0x09. : alias bg break cd chdir continue eval exec exit export false
\0x09 fg getopts hash help jobs kill let local pwd read readonly return
\0x09 set shift times trap true type ulimit umask unalias unset wait
hence how can i send codes to my board instead of “rz” ?