From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16393 invoked by alias); 1 Jun 2004 09:58:16 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 16260 invoked from network); 1 Jun 2004 09:58:14 -0000 Received: from unknown (HELO 21cn.com) (61.140.60.71) by sourceware.org with SMTP; 1 Jun 2004 09:58:14 -0000 Received: from 21cn.com([10.2.2.6]) by 21cn.com(AIMC 2.9.5.2) with SMTP id jmb40bc74ba; Tue, 01 Jun 2004 17:59:33 +0800 Content-Type: text/plain Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Message-ID: <8i959398819991.29518@webmail6.inner-21cn.com> X-AIMailer: AIMC 2.9.5.6 2002.10.10 X-AIMime: MIME/SMIME Lib 2.9 2.9 2002.10.10 Date: Tue, 01 Jun 2004 09:58:00 -0000 From: "peng" To: ecos-discuss@ecos.sourceware.org Cc: X-Originating-IP: 61.182.251.99 Subject: [ECOS] Re: how to correct the compile error "cannot find -lg" X-SW-Source: 2004-06/txt/msg00004.txt.bz2 >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