After settling up everything, I think it is beneficial to share the experience on the internet.
I have reappeared all the mentioned steps in VirtualBOX with the same environment.
TODO: What is OSEK? How is OSEK on NXT?
I will revise the original tutorial and update all the out-date information/urls in the following concept.
In fact, this article is also for me to record what I did within this suffering day...
Refer from here -> Build and Install GNU ARM
Install the required packages:
"This should be the output of arm-elf-gcc -print-multi-lib (hard and soft float support)"
I have reappeared all the mentioned steps in VirtualBOX with the same environment.
TODO: What is OSEK? How is OSEK on NXT?
I will revise the original tutorial and update all the out-date information/urls in the following concept.
In fact, this article is also for me to record what I did within this suffering day...
Refer from here -> Build and Install GNU ARM
Install the required packages:
~$ sudo apt-get install tk-dev ncurses-dev libmpfr-dev texinfoAnd use the script file to build up the tool chain of cross compiler (ARMv7)
wget http://lejos-osek.sourceforge.net/installation_linux_files/build_arm_toolchain.sh ~$ sh ./build_am_toolchain.shYou may need to use texinfo-4.13 to get rid of the error.
wget http://ftp.gnu.org/gnu/texinfo/texinfo-4.13.tar.gz tar -xvf texinfo-4.13.tar.gz cd texinfo-4.13 ./configure sudo make installAfterwards, you can test the new gcc :
"This should be the output of arm-elf-gcc -print-multi-lib (hard and soft float support)"
~$ ./gnuarm/bin/arm-elf-gcc -print-multi-lib .; thumb;@mthumb fpu;@mhard-float interwork;@mthumb-interwork fpu/interwork;@mhard-float@mthumb-interwork thumb/interwork;@mthumb@mthumb-interworkNow we have ARM cross complier!
Comments
Post a Comment