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: <4.3.1.2.20010723113704.0166cf08@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 23 Jul 2001 11:41:51 -0400
To: "Joe T." <auximini@yahoo.com>, cygwin@cygwin.com
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: basic stuff
In-Reply-To: <20010723151237.91634.qmail@web10107.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-GCMulti: 1
X-SMTP-Server: PostCast Server 1.0.0

At 11:12 AM 7/23/2001, Joe T. wrote:
>Hello,
>
>I'm new to cygwin, not new to programming though.
>I scanned through the documentation, but didnt find an
>answer to my questions. maybe im just that blind.
>
>I would like to work on some socket programming on
>windows and I'm trying to find a good compiler. since
>I have a good background in unix programming, i
>figured cygwin would be my best bet. but there are
>some problems:
>
>I like using synedit (www.mkidesigns.com) for my IDE. 
>after ive compiled the program and i run it, it tells
>me it needs cygwin1.dll. if i copy this file to
>windows/system, im able to run the program.


Don't do that.  It makes it very easy to end up with 2 or more
Cygwin DLLs on a system.  More than 1 loaded at a time is a 
problem.


>so my questions are, do i have to work with cygwin
>directly in the 'unix' environment? or is it possible
>to work completely in a win32 environment? are all the
>programs compiled to the cygwin.dll, and if so,
>wouldnt that make it rather hard to run that program
>on another windows machine?


If you don't need the POSIX emulation layer for your 
program, use the -mno-cygwin switch or the completely Win32 
version of gcc available at www.mingw.org.  Otherwise, you 
need cygwin1.dll, just like you need msvcrt.dll for most other
Win32 programs, for example. 


>if cygwin isnt what im really looking for in a
>compiler, could someone else suggest another free one
>that would suit my needs?

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


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

