delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/04/10:25:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001004142446.6992.qmail@web124.yahoomail.com>
Date: Wed, 4 Oct 2000 07:24:46 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: -mno-cygwin question
To: tilman DOT utz AT studserv DOT uni-stuttgart DOT de, Paul Garceau <pgarceau AT teleport DOT com>
Cc: cygwin Mailing <cygwin AT sources DOT redhat DOT com>,
mingw-users AT lists DOT sourceforge DOT net
MIME-Version: 1.0

--- Tilman Utz <Gerhard DOT Utz AT t-online DOT de> wrote:
> Trying to give more information.
> You wrote:"In terms of writing programs which do not need the cygwin.dll,
> that is what mingw is all about."
> My problem about this was: Of the library I need I just had the headers,
> some .cpp and a configure script, which created the makefiles (The name of
> the library is GiNaC, a lib for symbolic computation, see  www.ginac.de
> for more information and if this is of any interest). As I somewhere read
> that "porting ``Unix-type'' code is not necessarily trivial." I decided to
> stick to cygwin 'cause it provided the POSIX functionality. 

If you need POSIX, you can't use -mno-cygwin.

> I hoped the
> -mno-cygwin flag would allow to build cygwin.dll independent executables
> (The institute I work for just uses WinNT...). 

What is the reason for Non-Cygwin executables.

> Unfortunately I didn't read
> or understand the HowTo I wrote of in my last mail (
> http://www.xraylith.wisc.edu/~khan/software/gnu-win32/mno-cygwin-howto.txt
> ).
> The author describes that one needs the mingw headers and libs to use the
> -mno-cygwin and, well, it seems, I don't have these because I built the
> library with the cygwin gcc. 

Well, yes you do.  They are provided in the gcc/binutils distributions.

> Unfortunately no workaround was given in the
> HowTo so does anyone else have an idea how to make it work anyway.
> eg would it be worth trying to build the whole library with the flag, or
> should I better switch to Mingw32 (If yes has anybody information about
> porting from POSIX to winpaths etc) 

It is a lot of work and is the reason Cygwin was created.

> or UWIN.
> 

Don't know anything about UWIN but you might try http://pw32.sourceforge.net if
your opposed to including Cygwin in your executables.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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