This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
question about library?
- From: top_general <top_general at sina dot com>
- To: newlib at sources dot redhat dot com
- Date: Mon, 03 Mar 2003 09:42:46 +0800
- Subject: question about library?
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)