This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Building in Cygwin to execute in Windows
- To: Suresh Kolichala <suresh_kolichala at hotmail dot com>, cygwin at sources dot redhat dot com
- Subject: Re: Building in Cygwin to execute in Windows
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Mon, 16 Oct 2000 11:48:54 -0700 (PDT)
--- Suresh Kolichala <suresh_kolichala@hotmail.com> wrote:
>
> I am trying to build an application developed on unix to run on
> Windows. The application doesn't use any special unix calls to
> require the unix emulation.
>
> I used -mno-cygwin, but still I cannot run the executable from
> the Dos command prompt. It complains that the dynamic link library
> cygwin1.dll still could not be found. I have seen a discussion at
> cygwin-developers
>
(http://www.delorie.com/archives/browse.cgi?p=cygwin-developers/2000/03/15/04:43:54)
>
> that it needs gcc-2.95.2-mingw-extra.tar.gz for -mno-cygwin to work.
>
> Could someone tell me if I should download the above file and extract it
> into the lib directory for my application to work from the Windows
> Command Prompt?
>
You must use the -mno-cygwin switch for the compilation as well as the link
process. Did you do this? What libraries are you using when linking?
Cheers,
=====
Earnie Boyd
mailto:earnie_boyd@yahoo.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! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com