- Download from source site sh4twbox-hello:
- For example, click the [95f0b35c13]
- click the Downloads:Tarball
- Extract it on your linux, for example:
- tar xf ~/Downloads/sh4twbox-hello-b393ebf8ae43608e.tar.gz
- Install cross compilers, for example:
- cd sh4twbox-hello*
- ./inst_st24_dev.sh i
- Try make the hello world
- source ./env.sh
- make
- Check the output log, for example, here is a successful output:
- hello: ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped
2014/06/01
Cross Compiling SH4 hello world and installing STLinux 2.4 compilers
As traditional method of install STLinux cross compiler is installing debian/ubuntu/redhat and install the RPMs. Here we just extract RPMs.
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言