delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/17/05:24:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <e2712e1d0712170223p43d94cfaoa4f0b85210106e40@mail.gmail.com>
Date: Mon, 17 Dec 2007 11:23:50 +0100
From: "Marko Loparic" <markolopa AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: making executable independent of cygwin with gcc
MIME-Version: 1.0
X-Google-Sender-Auth: 6d3a19bd29679724
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

Is there a way to create an executable from a C source that will run
on windows without cygwin?

The gcc command I use is simply:

  gcc -I. -lm -g -o unit_comm $(objects)

The error I get when running the program in a windows system without cygwin is:

"This application has failed to start because cygwin1.dll was not
found. Re-installing the application may fix the problem."

Thanks a lot in advance!
Marko

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