首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Brew >

数学库函数有关问题

2012-03-01 
数学库函数问题brew应用程序进行交叉编译时,C库中的数学函数,在助手函数中没有对应函数,如sin,cos等,这些

数学库函数问题
brew应用程序进行交叉编译时,C库中的数学函数,在助手函数中没有对应函数,如sin,cos等,这些都要自己去实现吗?请教有经验的高手和楼主指点,折腾好几天了,编译时总是如下提示:
ror: L6265E: Non-RWPI Section libspace.o(.bss) cannot be assigned to PI Exec region ER_ZI.
Error: L6265E: Non-RWPI Section stdio.o(.bss) cannot be assigned to PI Exec region ER_ZI.
Error: L6248E: libspace.o(.text) in PI region 'ER_RO' cannot have address type relocation to __libspace_start in PI region 'ER_ZI'.
Error: L6248E: _main_redirect.o(.text) in PI region 'ER_RO' cannot have address type relocation to __stderr in PI region 'ER_ZI'.
Error: L6248E: _main_redirect.o(.text) in PI region 'ER_RO' cannot have address type relocation to __stdin in PI region 'ER_ZI'.
Error: L6248E: _main_redirect.o(.text) in PI region 'ER_RO' cannot have address type relocation to __stdout in PI region 'ER_ZI'.
Error: L6248E: stdio.o(.text) in PI region 'ER_RO' cannot have address type relocation to .bss$2 in PI region 'ER_ZI'.
Error: L6248E: stdio.o(.text) in PI region 'ER_RO' cannot have address type relocation to .bss$2 in PI region 'ER_ZI'.
Error: L6248E: fflush.o(.text) in PI region 'ER_RO' cannot have address type relocation to __stdin in PI region 'ER_ZI'.
Finished: 0 information, 0 warning and 9 error messages.

[解决办法]

探讨
是啊,要重写的。

热点排行