Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <02b501c21224$aa65b4f0$afcb4603@gsoi.med.ge.com> From: "prateek" To: "David Starks-Browning" Cc: References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20020612103250 DOT 02005ea0 AT irispavp DOT igb DOT umontreal DOT ca><026501c21221$d4f5e260$afcb4603 AT gsoi DOT med DOT ge DOT com> <6046-Wed12Jun2002161350+0100-starksb AT ebi DOT ac DOT uk> Subject: strange behaviour of cygwin build executable Date: Wed, 12 Jun 2002 20:50:19 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 I have recompiled with gcc -o myprog test.cxx it generate the myprog.exe , but still the same program is comming , is this problem releated with some enviroment setting. Can any one try from your PC Thanks Prateek ----- Original Message ----- From: "David Starks-Browning" To: "prateek" Cc: 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 > > > > 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 > -- 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/