Hello all, I install cross compiler in fedora. Then I run command "arm-linux-gcc -v". It shows Gcc version. I close terminal and again write "arm-linux-gcc -v". so it give error command not found. Then I open gedit by type in terminal "gedit /etc/profile" and close it without anything done on it just open gedit and close it. Then write "source /etc/profile" in terminal and write arm-linux-gcc -v. so it gcc version. Then again I close terminal and write arm-linux-gcc -v so it give error command not found. so I want to ask why this happen. did I install correctly or is there any other problem please give solution -- Abdul Wahab
Problem occur when installing cross compiler in fedora
For Ubuntu the file that is modified to include the path to your compiler is in your home directory, ie /home/bashrc. Are you putting the full path to your compiler into /etc/profile? Are you aware if you open a terminal session and on the command line type in the path to your compiler then type "arm-linux-gcc -v" if t will be found ... but when you close that terminal session then the path is lost? I am confused by your sequence of steps, however the above may help.
Thanks davef for your reply. Yes I add the full path in etc profile. I can also show you path, "/opt/EmbedSky/4.3.3/bin", this is the path and I add this path by invoking this command "Gedit /etc/profile" thanks -- Abdul Wahab
Do you still have the problem? Do recall, years ago, that there were some differences between Fedora and Ubuntu when cross-compiling. Have you searched this site for <fedora>?