delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/18/18:44:02

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: <006c01c051b9$b94859a0$03cd60cb@dell>
From: "Vulcan Helicopters" <vulcan AT vulcanheli DOT co DOT nz>
To: <cygwin AT sources DOT redhat DOT com>
Subject: newbie - cannot find -luser32 problem
Date: Sun, 19 Nov 2000 12:46:07 +1300
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019