delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <70EF14E8531FD511BA7900104B6980767E95F5@EXCHANGE-RIO> |
From: | "Borges, Rodolfo" <Rodolfo DOT Borges AT bowneglobal DOT com DOT br> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | can't compile a helloworld C program |
Date: | Thu, 31 May 2001 14:55:31 -0300 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2653.19) |
i installed cygwin on a win2000 machine. in fact, the error is on the link stage: $ gcc tst.c /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-4/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32 i noted that user32.dll is on c:/winnt/system32 (cygwin looks for c:/windows?), so i did: $ gcc -L/cygdrive/c/WINNT/system32 tst.c /usr/lib/libcygwin.a(_cygwin_crt0_common.o)(.text+0xe6):_cygwin_crt0_common. cc: undefined reference to `GetModuleHandleA AT 4' and finnaly gave up. :( what am i missing here? here's what i have installed: /cygdrive/c/install/cygwin/contrib: gettext readline unzip wget zip /cygdrive/c/install/cygwin/latest: bash cygrunsrv file gdb inetutils ncurses sh-utils time binutils cygwin fileutils grep less patch tar vim bzip2 diff findutils groff make regex tcltk which clear expect gcc gzip man sed textutils zlib please reply to me [rodolfo DOT borges AT mail DOT com] as i'm not subscribed to this list.. sorry. thanks for any help, rodolfo PS: i love cygwin. it's a big relief, as i'm forced to use win2000 on work.. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |