[ECOS] Re: how to correct the compile error "cannot find -lg"
peng
crocodilian@21cn.com
Tue Jun 1 09:58:00 GMT 2004
>hi,
on cygwin,when I compiled the file hello.c like the way:
$ arm-elf-gcc -g /h/hello/hello.c
I got the following errors:
/ecos/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/../../../../arm-elf/bin/ld: cannot find -lg
collect2: ld returned 1 exit status
please tell me how to correct the errors,any suggestions will be appreciated!
best regards
crocodilian
----------------------------------------------
[¿ì¸Ãò¼ä]²»ÃµÃÃê´ú¡°ÃÃÃ족µÃ²»Ã¬½Ã·¨
http://free.21cn.com/forum/threadmode1.jsp?forum_id=624&thread_id=304315
Ãö¯¿¨Ã²ok£¬¶Ã¼ÃÃóª
http://mms.21cn.com/ring/ring.jsp
ȻÃõÃûÃÃÃìÃÃÃÃÃòÃùúµÃûÃÃÃìÃÃÃ
®Ãó»é
http://news.21cn.com/social/
21CNÃÃÃñÃÃÃäÃåû8ÃÃÃÃ
»Ã£¬·áºñ½±Ã·µÃÃãÃÃ
http://mail.21cn.com/huodong/0405/business/detail.html
ÃóõÃÃÃäÃÃÃôóÃÃ
»Ã£¬Ãûú¡¢MP3¼´Ã±ÃÃ
http://mail.21cn.com/huodong/0405/corpmail/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list