Does anyone know a way to build an executable that works in a DOS shell WITHOUT having \cygwin\bin in the path? I need two separate shell environments on my PC - DOS and Cygwin. I build the simple "Hello World" project that ships with SE and it works (i.e. executes) in a Cygwin window. When I run it in a DOS shell I'll get the famous "cygwin1.dll not installed" error since I don't have \cygwin\bin as part of my DOS path. (obviously, it is part of my Cygwin path.). So I need to be able to build the executable from within SE, be able to debug with GDB within SE, and have the executable, well, execute in a DOS shell. Is this doable? Any advice?
I'm using SE 12.01. The project was created using the GNU C wizard starting with the "Hello World" app.
I have SE auto-generate and maintain the makefile. The build command line explicitly calls c:\cygwin\bin\make since the path doesn't exist in DOS. Compile is done with gcc.
thanks,
Mike