uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(24):Gcc版本号

本文介绍uCLinux在ADI BF561 DSP平台上的移植过程及遇到的兼容性问题解决办法,包括配置调整、编译器版本定义等关键技术点。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

快乐虾

http://blog.youkuaiyun.com/lights_joy/

lights@hb165.com

本文适用于

ADI bf561 DSP

优视BF561EVB开发板

uclinux-2008r1.5-rc3(smp patch)

Visual DSP++ 5.0(update 5)

欢迎转载,但请保留作者信息

有一个错误:

"..\..\linux-2.6.x\include\linux/compiler.h", line 44: cc0035: fatal error:

#error directive: Sorry, your compiler is too old/not recognized.

# error Sorry, your compiler is too old/not recognized.

错误的代码为:

#if __GNUC__ >= 4

# include <linux/compiler-gcc4.h>

#elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2

# include <linux/compiler-gcc3.h>

#else

# error Sorry, your compiler is too old/not recognized.

#endif

由于vdsp号称和gcc3.4有较好的兼容性,因此在config.h中添加如下定义:

#define __GNUC__ 3 // 编译器主版本号

#define __GNUC_MINOR__ 4 // 编译器次版本号

1 参考资料

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(1):前言(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(2):代码注释(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(3):vdsp项目创建(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(4):目录差异(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(5):'bf561.h'的问题(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(6)CONFIG_BFIN_KERNEL_CLOCK(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(7)CONFIG_MEM_MT48LC16M16A2TG_75(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(8):CONFIG_CLKIN_HZ(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(9):CONFIG_MEM_SIZE(2009-1-12)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(10):CONFIG_FLASH_SPEED_BTT(2009-1-13)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(11):__INIT(2009-1-13)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(12):trace_buffer_init(2009-1-13)

uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(13):ENDPROC(2009-1-13)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(14)__FINIT(2009-1-13)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(15)CONFIG_BANK_x(2009-1-13)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(16):使用head.s做为入口点(2009-1-13)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(17)__bss_start(2009-1-13)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(18)_sdata(2009-1-14)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(19)_stext(2009-1-14)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(20)bf53x_relocate_l1_mem(2009-1-14)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(21)dlb创建(2009-1-14)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(22)IRQ_PLL_WAKEUP(2009-1-14)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(23)PREEMPT_ACTIVE is too low(2009-1-14)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值