当前位置: 代码迷 >> Brew >> 数学库函数有关问题
  详细解决方案

数学库函数有关问题

热度:3152   发布时间:2013-02-26 00:00:00.0
数学库函数问题
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.

------解决方案--------------------------------------------------------
探讨
是啊,要重写的。
  相关解决方案