交叉编译器网址

做个临时记录:

I: gcc gnu 官网
https://gcc.gnu.org/
see:
Installation: 安装gcc说明
|---platforms

The installation procedure itself is broken into five steps.
|-- Prerequisites
|-- Downloading the source
|-- Configuration
|-- Building
|-- Testing (optional)
|-- Final install

II: 各平台GCC特定安装注意点:
Host/Target specific installation notes for GCC:
site: https://gcc.gnu.org/install/specific.html
(include:
arm-*-eabi: arm-*-netbsdelf, arm-*-*linux-* and arm-*-rtemseabi.
|-----
|-----
|-----

m68k-*-*: m68k-*-elf*’, ‘m68k-*-rtems’, ‘m68k-*-uclinux’ and ‘m68k-*-linux’
|-----M680x0 processors
|-----ColdFire processors

m68k-uclinux: ‘m68k-linux-gnu’(‘m68k-elf’) ABI

)



------------------
1, arm-*-eabi
ARM-family processors. Subtargets that use the ELF object format require GNU binutils 2.13 or newer. 
Such subtargets include: arm-*-netbsdelf, arm-*-*linux-* and arm-*-rtemseabi.


2, m68k-*-*


By default, ‘m68k-*-elf*’, ‘m68k-*-rtems’, ‘m68k-*-uclinux’ and ‘m68k-*-linux’ build libraries for both M680x0 and ColdFire processors. 
If you only need the M680x0 libraries, you can omit the ColdFire ones by passing --with-arch=m68k to configure. Alternatively, you can 
omit the M680x0 libraries by passing --with-arch=cf to configure. These targets default to 5206 or 5475 code as appropriate for the target 
system when configured with --with-arch=cf and 68020 code otherwise.


The ‘m68k-*-netbsd’ and ‘m68k-*-openbsd’ targets also support the --with-arch option. They will generate ColdFire CFV4e code when configured
 with --with-arch=cf and 68020 code otherwise.
You can override the default processors listed above by configuring with --with-cpu=target. This target can either be a -mcpu argument or one
 of the following values: ‘m68000’, ‘m68010’, ‘m68020’, ‘m68030’, ‘m68040’, ‘m68060’, ‘m68020-40’ and ‘m68020-60’.
GCC requires at least binutils version 2.17 on these targets.


3, m68k-*-uclinux
GCC 4.3 changed the uClinux configuration so that it uses the ‘m68k-linux-gnu’ ABI rather than the ‘m68k-elf’ ABI. It also added improved support
 for C++ and flat shared libraries, both of which were ABI changes.



你可能感兴趣的:(gcc,gnu,交叉编译)