delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/31/15:33:17

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: <19990831193056.14333.rocketmail@web127.yahoomail.com>
Date: Tue, 31 Aug 1999 12:30:56 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: (Another) newbie problem
To: Jim Roy <jim AT nga DOT com>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

Here's what I do:

dir:
c:\root\b20
c:\root\mingw32

Install cygwin related headers and libraries under c:\root\b20 in directories
usr/include, usr/lib, ... and install mingw32 related headers and libraries
under c:\root\mingw32 in directories usr/include, usr/lib, ... and also copy to
usr/bin any appropriate user binary; you know, bash, sh, cygwin1.dll, ls, etc. 
and put the binaries for gcc and binutils for mingw32 there also.  You'll need
to setup the GCC related environment variables such as GCC_EXEC_PREFIX, etc for
the mingw32 version of gcc to find it or just use the cygwin version of the gcc
and modify the specs file to make the -mno-cygwin the default.  

Now, in the cygnus.bat file add `sh -c 'cd usr/bin && ./umount / && ./mount
c:\\root\\mingw32 /'' for the mingw32 startup before starting bash and do the
same for the cygwin startup but instead of c:\\root\\mingw32 use c:\\root\\b20.
 Create a shortcut on your desktop for each of these naming one b20 and the
other mingw32.  Now, you've two separate environments.  One for cygwin, the
other for mingw32.

--- Jim Roy <jim AT nga DOT com> wrote:
> Lighten up Earnie.
> 
> A lot of us are in the same boat.  This stuf is complex.  I've
> read a lot of web pages and even got a couple of  projects to
> build and work.  Still, it's not *obvious* to me that he's mixing
> Ming32 and Cygwin.  I'm not sure I even know exactly what that means.
> ( May be why some stuf I try still doesn't work :-} ) 

It was obvious from the output of gcc -v supplied with the post.

> 
> Are you saying that *ALL* of the libraries, header files, & build
> tools come in separate flavors, one for cygwin and one for mingw32?
-8<-

All _cygwin_ related objects and libraries.  Mingw32 uses the runtime, the one
supplied by M$, and objects and libraries won't change for them.

I hope this helps.  Feel free to post any question.  Sorry if you felt that I
wasn't helpful enough earlier but this has been discussed many times before.
===
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


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