From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20796 invoked by alias); 25 Mar 2004 19:20:02 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 20758 invoked from network); 25 Mar 2004 19:20:00 -0000 Received: from unknown (HELO sina.bol.com.br) (200.221.24.27) by sources.redhat.com with SMTP; 25 Mar 2004 19:20:00 -0000 Received: from bol.com.br (200.221.24.127) by sina.bol.com.br (5.1.071) id 406257CE000252F8 for gcc-help@gcc.gnu.org; Thu, 25 Mar 2004 16:20:00 -0300 Date: Thu, 25 Mar 2004 23:13:00 -0000 Message-Id: Subject: gcc MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "frostflare" To: "gcc-help" X-XaM3-API-Version: 4.1 (B27) X-type: 0 X-SenderIP: 200.136.177.65 X-SW-Source: 2004-03/txt/msg00270.txt.bz2 Here my problem i can't compile this program at gcc on cygwin. It show me this message. /cygdrive/c/WINDOWS2/TEMP/ccOgyy6e.o: In function =0D `main': /cygdrive/c/WINDOWS2/TEMP/ccOgyy6e.o(.text+0x14): undefined reference to `printf ' /cygdrive/c/WINDOWS2/TEMP/ccOgyy6e.o(.text+0x1c):=20 undefined reference to `printf ' collect2: ld returned 1 exit status=0D And this is the ode of the program that i am trying to compile. A simple program just to test it. #include main () { printf("Ola"); printf("Oi"); } __gccmain() { } exit() { while(1); }=0D atexit() { while(1); } What is happening? How i fix it? =0D =20 __________________________________________________________________________ Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - =C9 gr=E1tis! http://antipopup.uol.com.br/