delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/26/22:09:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Analyze: Velop Mail Shield v0.0.3
Date: Fri, 27 Feb 2004 00:08:54 -0300 (BRT)
From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1 AT pervalidus DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Good news for cygwin ? Re: [smartmontools-devel]Windows port
In-Reply-To: <20040227012807.GA6039@redhat.com>
Message-ID: <Pine.LNX.4.58.0402262339310.354@pervalidus.dyndns.org>
References: <Pine DOT LNX DOT 4 DOT 58 DOT 0402172028010 DOT 670 AT pervalidus DOT dyndns DOT org> <403A5C6F DOT 30806 AT t-online DOT de> <Pine DOT CYG DOT 4 DOT 58 DOT 0402231819150 DOT 3120 AT pervalidus> <Pine DOT LNX DOT 4 DOT 58 DOT 0402262002360 DOT 354 AT pervalidus DOT dyndns DOT org> <20040227000625 DOT GA4795 AT redhat DOT com> <Pine DOT LNX DOT 4 DOT 58 DOT 0402262112180 DOT 354 AT pervalidus DOT dyndns DOT org> <20040227012807 DOT GA6039 AT redhat DOT com>
X-Archive: encrypt
MIME-Version: 1.0

On Thu, 26 Feb 2004, Christopher Faylor wrote:

> On Thu, Feb 26, 2004 at 09:44:20PM -0300, Fr?d?ric L. W. Meunier wrote:
> >On Thu, 26 Feb 2004, Christopher Faylor wrote:
> >>On Thu, Feb 26, 2004 at 08:09:54PM -0300, Fr?d?ric L. W. Meunier wrote:
> >>>smartmontools now has support for Cygwin in CVS. There's a full
> >>>package I made for 1.5.7 (just missed a postinstall script for
> >>>/etc/smartd.conf - will be in 5.30) that can be installed
> >>>through setup.exe.
> >>>
> >>>And a smartctl binary compiled with -mno-cygwin.
> >>
> >>...which would make it not particularly good news for cygwin...
> >
> >Correct, but I consider it good news if you have Cygwin, don't
> >have MinGW, can't afford MSVC, and also want to make a native
> >Windows binary.
>
> "Don't have MinGW" doesn't make much sense.  If you are careful you
> don't need anything specific to MinGW to run binaries compiled with it.

I meant to compile, not run, so you don't need to install MinGW
from http://www.mingw.org/ , just Cygwin and any required
packages to use -mno-cygwin.

Not all people are going to install both to make a native
Windows binary that doesn't depend on cygwin1.dll, so it's nice
that Cygwin provides it.

> >>-mno-cygwin means "no cygwin" which means that cygwin is not involved
> >>in this port at all.  You used cygwin's compiler to build it but you
> >>cut cygwin out of the equation by specifying -mno-cygwin, making it
> >>essentially a native windows port like you'd get if you used MSVC.
> >
> >Yes, but that was only to provide a smartctl binary for non Cygwin
> >users.  smartd hasn't yet been ported by Christian because -mno-cygwin
> >and MSVC lack at least syslog.h, but it works with Cygwin.
>
> So you're talking about mixing binaries compiled with and without
> cygwin.  Hmm.

Where did I wrote that ? The -mno-cygwin smartctl is only
available because not all users are going to install Cygwin.
The Cygwin binaries (smartctl and smartd) compiled without
-mno-cygwin are in a separate package.

So, there's no reason for Cygwin users to install the
-mno-cygwin smartctl (which is in a separate .zip file) unless
they want to run it where Cygwin isn't installed.

Anyway, it does no harm (yes, I tested) to run the native
binary under Cygwin. It's like if you ran the native nslookup
or something.

I see -mno-cygwin is off topic. I should have avoided adding it
in my first e-mail.

> >May I ask why /bin/mail isn't in Cygwin ? Nobody volunteered ?
> >http://www.cygwin.com/ml/cygwin/2003-07/msg00460.html doesn't
> >help.
>
> Basically it's because we thought you might need it and we're all
> really mean so we're purposely not including it.

No problem. I already compiled nail. I thought it wasn't
because his author named a file aux.c -
http://www.cygwin.com/ml/cygwin/2003-01/msg01021.html and
doesn't seem to like Windows.

-- 
http://www.pervalidus.net/contact.html

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019