Building in Cygwin to execute in Windows

Earnie Boyd earnie_boyd@yahoo.com
Mon Oct 16 11:48:00 GMT 2000


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



More information about the Cygwin mailing list