Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3BCD9405.11A70094@syntrex.com>
Date: Wed, 17 Oct 2001 16:21:57 +0200
From: Pavel Tsekov <ptsekov@syntrex.com>
Organization: Syntrex Inc.
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: pat.j.mckillen@jpmorgan.com
CC: cygwin@cygwin.com
Subject: Re: problem with linking
References: <OFB4A5A6FD.DF6BEE71-ON80256AE8.004DD380@ny.jpmorgan.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Look the mailing list first then ask :) 
On second thought - install the win32api package

pat.j.mckillen@jpmorgan.com wrote:
> 
> Hi,
>      I have just downloaded Cygwin1.3.3 and cannot get an"Hello World"
> program to link.
> 
> My file is called Prog1.cpp and I have tried
> 
> g++ Prog1.cpp
> 
> and
> 
> gcc Prog1.cpp
> 
> all give me the same linking error
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
> cann
> ot find -luser32
> collect2: ld returned 1 exit status
> 
> I installed directly from the internet and the installation did not
> create a file called libuser.*
> create the directory structure /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 but
> rather /lib/gcc-lib/i686-pc-cygwin/2.95.3-5
> 
> Could someone point me in the right direction
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

