making executable independent of cygwin with gcc

2007-12-17 Thread Marko Loparic
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/



Re: making executable independent of cygwin with gcc

2007-12-17 Thread Greg Chicares
On 2007-12-17 10:23Z, Marko Loparic wrote:
 
 Is there a way to create an executable from a C source that will run
 on windows without cygwin?

See the answer to
  How do I compile a Win32 executable that doesn't use Cygwin?
in the FAQ.

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