This is the mail archive of the cygwin@cygwin.com 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] |
I am attaching a source code , compiled and test on your PC, wheather it work or not Thanks bye Prateek ----- Original Message ----- From: "David Starks-Browning" <starksb@ebi.ac.uk> To: "prateek" <arora.prateek@med.ge.com> Cc: <cygwin@cygwin.com> Sent: Wednesday, June 12, 2002 8:43 PM Subject: strange behaviour of cygwin build executable > On Wednesday 12 Jun 02, prateek writes: > > Hi friends > > I have wriiten in the a very simple program to print a echo statement by > > system command. > > > > #include <stdlib.h> > > > > void main() > > { > > system(" echo this is a Test Program "); > > } > > > > I compiled gcc -o test test.cxx -mwindows > > it generate test.exe > > > > WhenI run it print " this is a Test Program " , the same exeutable when I > > run on my friends computer with same operating system and configuration , > > nothing is come up. with same cygwin1.dll. > > May I know why it Showing such a strange behaviour. > > Don't name executables "test". You never know which one you're > getting. Sounds like your friend is not getting ./test, in this case. > > Regards, > David >
Attachment:
test.cxx
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |