delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/18/08:03:12

X-Spam-Check-By: sourceware.org
Date: Wed, 18 Oct 2006 08:02:55 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: gcc & mingw code?
Message-ID: <20061018120255.GB1327@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <eh434v$k73$1 AT sea DOT gmane DOT org> <20061018023521 DOT GA13096 AT trixie DOT casa DOT cgf DOT cx> <eh53tv$2b6$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <eh53tv$2b6$1@sea.gmane.org>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Wed, Oct 18, 2006 at 11:41:51AM +0000, Mike wrote:
>On 2006-10-18, Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> wrote:
>> On Wed, Oct 18, 2006 at 02:22:23AM +0000, Mike wrote:
>>>Does someone have a bit of code that can be compiled static and mingw
>>>(the way I understand it) to remove all cygwin dependencies that will
>>>run as a windows (xp) service for starting vbscripts?  I cannot install
>>>cygwin on all my windows boxes and have a limit to how large an
>>>executable I can install on the boxes.  I do not want to muck with the
>>>registry beyond installing the service.  Having the program read from a
>>>file what vbscript to start and other run-time parameters is ok with
>>>me.
>>
>> This mailing list is really not intended to discuss how not to use
>> Cygwin.  If you want to use MinGW, please ask questions in the mingw
>> mailing list.
>
>However the question is how to use cygwin to create a program that
>works in a windows environment as a stand-alone executable. That
>program would be compiled by gcc under cygwin, hence it is a cygwin
>question.

1) You can't produce a "static" Cygwin binary.

2) You can't use MinGW to provide full linux/POSIX functionality.

3) You *can* use the -mno-cygwin option to gcc to produce "MinGW" binaries
but the limit of support you are going to receive in this mailing list
for MinGW questions is to be told that the option -mno-cygwin exists.
It may or may not do what you want, but if it doesn't, or you have more
detailed questions about MinGW, then use the MinGW mailing list.

cgf

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