COME FROM :milw0rm.com ARM GCC Inline Assembler Paper About this Document Written by batched ~ [email=batched@gmail.com]batched@gmail.com[/email] The GNU C compiler for ARM RISC processors offers, to embed assembly language code into C programs. This cool feature may be used for manually optimizing time critical parts of the software or to use specific processor instruction, which are not avai...
by skykiker - Linux文档专区 - 2008-07-07 21:51:24 阅读(1193) 回复(0)
在编译gcc的时候,报告crti.o文件找不到,参考 http://www.embedlinux.cn/ShowPost.asp?ThreadID=138 文件,做了修改,通过. ../configure --target=arm-linux --disable-shared --disable-threads \ --with-headers=/opt/linux-2.4.18/include \ --with-gnu-as --with-gnu-ld --enable-multilib --enable-languages=c 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/30686/showart_251189.html
在基于ARM的嵌入式系统开发中,常常用到交叉编译的GCC工具链有两种: arm-linux-*和 arm-elf-*,两者区别主要在于使用不同的C库文件。arm-linux-*使用 GNU的Glibc,而arm-elf-*一般使用 uClibc/uC-libc或者使用REDHAT专门为嵌入式系统 的开发的C库newlib.Glibc。uClibc/uC-libc以及 newlib都是C语言库文件,只是所应 用的领域不同而已,Glibc是针对PC开发的,uClibc/uC-libc是与Glibc API兼容的小型 化C语言库,实现了Glibc部分功...
名字解释:
ABI,application binary interface (ABI),应用程序二进制接口。
编译版本问题:
GCC 4.0 为分界线
4.0版本以下,由于采用OABI接口,其对浮点的支持不太好
4.0版本以上,采用了新的EABI接口,其对软浮点和硬浮点的支持都比较好。
考虑在4.0版本以下时,其支持的ARM内核大多数没有硬浮点,所以可以分析资料比较少,
现在重点关注4.0...
![]()
About this document The GNU C compiler for ARM RISC processors offers, to embed assembly language code into C programs. This cool feature may be used for manually optimizing time critical parts of the software or to use specific processor instruction, which are not available in the C language. It's assumed, that you are familiar with writing ARM assembler programs, because this is not an ARM asse...
http://www.codesourcery.com/downloads/public/gnu_toolchain/arm-none-linux-gnueabi 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/50826/showart_1961928.html
by
shuhui0614
-
Linux文档专区
-
2009-06-11 15:24:52 阅读(933) 回复(0)
ARM GCC 内嵌(inline)汇编手册 关于这篇文档 对于基于ARM的RISC处理器,GNU C编译器提供了在C代码中内嵌汇编的功能。这种非常酷的特性提供了C代码没有的功能,比如手动优化软件关键部分的代码、使用相关的处理器指令。 这里设想了读者是熟练编写ARM汇编程序读者,因为该片文档不是ARM汇编手册。同样也不是C语言手册。 这篇文档假设使用的是GCC 4 的版本,但是对于早期的版本也有效。 GCC asm 声明 让我们以一个简单的例子开始。...
文件: GNUGCCINLINE.pdf 大小: 50KB 下载: 下载 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/69404/showart_1404459.html
小弟刚刚学习linux,打算在ARM9260上面弄一下,开发板上带地ARM-gcc没有装上,想另外下载一个ARM-linux-gcc, 安装一下,不之道可不可一,请各位高手,给点意见
GCC、ARM-LINUX-GCC、ARM-ELF-GCC浅析 一、GCC简介:
|