This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to correct the compile error "cannot find -lg"


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]