question about library?
top_general
top_general@sina.com
Mon Mar 3 01:52:00 GMT 2003
I used newlib-1.10.0 to compile a library for Motorola M.Core2107 mcu. I had compiled successly. when I debugged these functions, I found many functions not to used. Question is follow(for example):
1. /cygdrive/e/cygwin/usr/local/mcore/mcore-elf/lib/big/libg.a(exit.o):
In function `exit':
exit.o(.text+0x48): undefined reference to `_exit'
2. /cygdrive/e/cygwin/usr/local/mcore/mcore-elf/lib/big/libm.a(w_asin.o):
In function `asin':
w_asin.o(.text+0xb0): undefined reference to `__errno'
3. IO functions can't to use. For example:
¡¡ printf, scanf......
fopen,fclose....
4. These functions can't also to use. Include:
malloc,calloc,realloc,free.
How can I compile new library for M.CORE2107? Do I need to amend source codes? Please give me some advices and method. thanks...
______________________________________
===================================================================
ÃûúÃïÃôÃÃÃì¹úÃó¤Ã¾5·ÃÃÃ/1ꡢç¸çÃÃÃ
®ö¦Ãþ¡Ãð®Ãé¿ìµà (http://love.sina.com.cn)
Ãûú¶ÃÃÃ
·¢ÃÃmµ½888810£¬Ãâ·Ã»ñµÃÃÃÃÃ15MÃÃÃãÃÃÃÃÃ䣡 (http://vip.sina.com/love_send/lover.html)
ç÷ÃÃÃÃþãÃò¿ ÿÃÃ5êüìÃÃ¥ÃùÃæÃû» (http://sms.sina.com.cn/act/member.html)
More information about the Newlib
mailing list