This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?


Greetings, Ted Byers!

> However, when I compile the program using gcc within cygwin (and run it the
> same way - Activestate perl from a Windows' CMD console, no output is 
> produced, and if I try to run qlt from Windows' CMD, it complains about a 
> missing DLL and dies..

Which DLL? You know, we're net standing behind you, staring at your screen
over your shoulder.

> So, I found a fix in terms of adding cygwin/bin to the  path.

Fix? Sorry me, but Cygwin installation manager explicitly tell you to do so.

> That lets me run the programs I compile using gcc within cygwin's bash shell
> in the same way I run programs I compile using MSVC++.
> The downside is that I was reluctant to make the cygwin programs themselves
> visible within Windows' CMD shell as I was concerned about the possibility
> that doing so might break some other Windows applications I use.

It may, now what? Use Cygwin ones as more POSIX-compliant.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 15.09.2011, <18:50>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]