public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
To: "Joe T." <auximini@yahoo.com>, cygwin@cygwin.com
Subject: Re: basic stuff
Date: Mon, 23 Jul 2001 08:58:00 -0000	[thread overview]
Message-ID: <4.3.1.2.20010723113704.0166cf08@pop.ma.ultranet.com> (raw)
In-Reply-To: <20010723151237.91634.qmail@web10107.mail.yahoo.com>

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/

      parent reply	other threads:[~2001-07-23  8:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-23  8:12 Joe T.
2001-07-23  8:42 ` Bobby McNulty
2001-07-23  8:45 ` Peter Buckley
2001-07-23  9:28   ` Larry Hall (RFK Partners, Inc)
2001-07-23  8:50 ` Bobby McNulty
2001-07-23  9:59   ` David Postill
2001-07-23 10:56     ` Bobby McNulty
2001-07-23  8:58 ` Larry Hall (RFK Partners, Inc) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.1.2.20010723113704.0166cf08@pop.ma.ultranet.com \
    --to=lhall@rfk.com \
    --cc=auximini@yahoo.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).