www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/25/15:20:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <37C44144.61749CC7@engmail.uwaterloo.ca>
Date: Wed, 25 Aug 1999 15:17:24 -0400
From: Leo Jingyu LEE <ljlee AT engmail DOT uwaterloo DOT ca>
Organization: E&CE, University of Waterloo
X-Mailer: Mozilla 4.61 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: burken AT metallicafan DOT com, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: c++ in cygnus
References: <262991999832518572478 AT metallicafan DOT com>

It simply means "cygwin1.dll" is not in your searching path.  If you are
running your program under DOS (sounds to me like this), you should add the
directory where "cygwin1.dll" located to your searching path, i.e., put
something like this in your autoexec.bat file:

SET PATH=C:\CYGNUS\CYGWIN~1\H-I586~1\BIN;%PATH%

I don't think you will have problem running it under cygwin since the
corresponding directory should have been added to your searching path by
"cygnus.bat" when you start it up.  Hope this helps,

-- Leo

burken AT metallicafan DOT com wrote:

> hello, i´v tried cygwin because i needed a compiler for c++
> in windows.
> I compile with the line:
>   c++ -o myprog.exe myprog.cpp
> It works fine, i can run the file and all.
> But when i copy it to an other location and run it from there
> i get the error: cygwin1.dll (i think): file missing or invalid...
> It works when it is in the same direktory as cygwin1.dll but nowhere else.
> Is it supposed to be like that or am i doing something wrong?
>
> best regards
> algoX
>
> _____________________________________________
> Free email with personality! Over 200 domains!
> http://www.MyOwnEmail.com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

-----------------------------------------------------------------------------
Leo J. LEE
Communications and Information Systems Group              ===========
Dept. of Electrical & Computer Engineering                *    _o   #
Univ. of Waterloo, Ontario, N2L 3G1, CANADA               *  _ \>_  #
Office: DC-2555B, (519) 888-4567 x3726                    * (_)/(_) #
Home Phone: (519) 746-6734                                ~~~~~~~~~~~



--
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