Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <02c001c21225$1a774830$afcb4603@gsoi.med.ge.com>
From: "prateek" <arora.prateek@med.ge.com>
To: "David Starks-Browning" <starksb@ebi.ac.uk>
Cc: <cygwin@cygwin.com>
References: <4.3.2.7.0.20020612103250.02005ea0@irispavp.igb.umontreal.ca><026501c21221$d4f5e260$afcb4603@gsoi.med.ge.com> <6046-Wed12Jun2002161350+0100-starksb@ebi.ac.uk>
Subject:  strange behaviour of cygwin build executable
Date: Wed, 12 Jun 2002 20:53:27 +0530
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_02BD_01C21253.336A5F70"
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

------=_NextPart_000_02BD_01C21253.336A5F70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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
>

------=_NextPart_000_02BD_01C21253.336A5F70
Content-Type: application/octet-stream;
	name="test.cxx"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="test.cxx"

#include <stdlib.h>=0A=
=0A=
void main()=0A=
{=0A=
  system(" echo   this is a Test Program ");=0A=
}=0A=


------=_NextPart_000_02BD_01C21253.336A5F70
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_02BD_01C21253.336A5F70--

