From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Larry Hall (RFK Partners, Inc)" To: "Joe T." , cygwin@cygwin.com Subject: Re: basic stuff Date: Mon, 23 Jul 2001 08:58:00 -0000 Message-id: <4.3.1.2.20010723113704.0166cf08@pop.ma.ultranet.com> References: <20010723151237.91634.qmail@web10107.mail.yahoo.com> X-SW-Source: 2001-07/msg01281.html 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/