我如何在新版本的gcc中将可用的体系结构添加到旧版本的gcc中? [英] How can i add a architecture which is available in new version of gcc to a old version of gcc?

查看:114
本文介绍了我如何在新版本的gcc中将可用的体系结构添加到旧版本的gcc中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将Atmega1281架构添加到我正在使用的vcc的当前版本的gcc中. v3.3不支持Atmega1281,v4.2.1中增加了对Atmega1281的支持.

I want to add Atmega1281 architecture to my current version of gcc that i am using i.e. v3.3. The Atmega1281 is not supported in the v3.3 and its support got added in v4.2.1 .

我无法将gcc升级到4.2.1,因此需要将支持添加到现有的编译器中.

I cannot upgrade the gcc to 4.2.1, so i need to add the support to my existing compiler.

有什么办法吗?

推荐答案

为了添加架构, 三件事需要更新,

In order to add the architecture, three things need to be updated,

  1. gcc- gcc \ config \ avr \ avr.c, gcc \ config \ avr \ avr.h, gcc \ config \ avr \ t-avr,

  1. gcc - gcc\config\avr\avr.c, gcc\config\avr\avr.h, gcc\config\avr\t-avr,

Binutils- gas \ tc-avr.c

Binutils - gas\tc-avr.c

avr-libc- avr \ io.h, 配置, configure.in, 头文件也会更改.

avr-libc - avr\io.h, configure, configure.in, And Header file changes.

这篇关于我如何在新版本的gcc中将可用的体系结构添加到旧版本的gcc中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆