我是嵌入式系统开发新手。我只想为这个系统编译一些 C 代码:
uname -mrs
Linux 2.6.32.28_stm24_0207 sh4
machine : STb7100 Reference board
processor : 0
cpu family : sh4
cpu type : STx7100
cut : 3.x
cpu flags : fpu
cache type : split (harvard)
icache size : 16KiB (2-way)
dcache size : 32KiB (2-way)
address sizes : 29 bits physical
bogomips : 264.19
谁能告诉我如何在我的 PC (Ubuntu) 上使用 GCC 为那种系统完成 C 编译的步骤。我只需要一点指导。
最佳答案
快速 google search表明该芯片具有ST40 cpu内核。另一个谷歌搜索出现了this link其中包含您需要的所有说明。
关于交叉编译到嵌入式系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17883764/