Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <006c01c051b9$b94859a0$03cd60cb@dell> From: "Vulcan Helicopters" To: Subject: newbie - cannot find -luser32 problem Date: Sun, 19 Nov 2000 12:46:07 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 I have just installed cygwin and am trying to use gcc, but I get the following error: $ make hello gcc hello.cc -o hello /usr/bin/ld: cannot find -luser32 collect2: ld returned 1 exit status make: *** [hello] Error 1 I though this may be to do with my PATH settings?? (I assume it is trying to find user32.dll which is in /windows/system) Here is the cygwin.bat file created by setup.exe: @echo off C: chdir \cygwin\bin bash --login -i @echo off I added in the two extra lines below, but it doesn't seem to make any difference: C: chdir \cygwin\bin SET MAKE_MODE=unix SET PATH=C:\cygwin\bin;C:\cygwin\usr\local\bin;%PATH% bash --login -i Thanks in advance for any help... wade Vulcan Helicopters Visit our NEW website at http://www.vulcanheli.co.nz -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com