skyslee2005 发表于 2006-12-8 17:50:59

请问arm-linux-gcc与arm-elf-gcc

请问arm-linux-gcc与arm-elf-gcc到底有什么本质区别,在ARM7上和ARM9上要使用的交叉编译器一定会不一样吗?往SKYEYE上加载的操作系统是不是必须用arm-elf-gcc编译才行,SKYEYE有如下的参数说明“-e exec-file    the (ELF executable format)kernel file name”。

ksh 发表于 2006-12-8 23:30:07

here are some differences between arm-elf, arm-linux, andarm-uclinux toolch ains.

As I know, arm-uclinux-binutils is the same as arm-linux-binutils.
arm-uclinux-gcc was patched from arm-linux-gcc to generate PIC
(Program Independent Code) code without GOT (Global Offset Table);

and arm-elf-gcc is designed for operating system independent
applications. For example, arm-elf-gcc will insert code for initializing
global C++ constructors at the beginning of main(), so even no-OS
platforms can work properly. BTW, they are almost the same while
compiling the Linux kernel.

skyslee2005 发表于 2006-12-9 20:30:36

谢谢斑竹
页: [1]
查看完整版本: 请问arm-linux-gcc与arm-elf-gcc