Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <BAY110-F12B6B221706543F140FE70BBAC0@phx.gbl>
X-Originating-Email: [flbos@hotmail.com]
X-Sender: flbos@hotmail.com
From: "Floris Bos" <flbos@hotmail.com>
To: cygwin@cygwin.com
Subject: running applications build under Cygwin
Date: Sun, 28 Aug 2005 16:12:34 +0200
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed

Hi,

I'm quite new to Cygwin and there are some things I don't really understand. 
I've build a few applications under Cygwin. I've build Xapian and Omega. 
Xapian is a search system and Omega is a front-end for Xapian. (see 
www.xapian.org if you're interested)

These applications are designed for a unix environment but can also be build 
under Windows using Cygwin. I succeeded in building the applications but I 
can't run one of the executables. There is a file Omega.exe that is created 
when building Omega. This file is a cgi search engine that can be called 
from within a website to request search results that are are subtracted from 
a Xapian database.

However when I call Omega.exe from my browser window I get the following 
error:
This program cannot be run in DOS mode

Along with that all of the code of the executable is displayed in my browser 
window.
I installed my webserver and Mysql server under Windows (not under Cygwin). 
Do I have to build these under Cygwin too (and run my webserver from within 
Cygwin) before I can use any programs build under Cygwin from within my 
webserver environment?

I figured that would not be the case because I'm able to run some of the 
other executables (not cgi but other apps) and they work perfectly. So my 
question is can I run every program that is build under Cygwin straight 
under Windows (loose from the Cygwin environment) or am I missing something 
here???

Thanks in advance.

Regards,

Floris



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

