X-Originating-IP: [200.34.143.16] From: "J. L." To: References: <3DDFA0CA DOT 000009 DOT 03244 AT DELL> <63b211f7 DOT 0211240900 DOT a1f0a57 AT posting DOT google DOT com> <63b211f7 DOT 0211250711 DOT 7d6a37a5 AT posting DOT google DOT com> <63b211f7 DOT 0211261104 DOT 5ba122b AT posting DOT google DOT com> Subject: Re: about: aout.exe Date: Tue, 26 Nov 2002 14:25:30 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: X-OriginalArrivalTime: 26 Nov 2002 20:27:41.0238 (UTC) FILETIME=[44D12D60:01C2958A] Reply-To: djgpp AT delorie DOT com "Jonquil" wrote: > > > > command lines: > > > > > > > > gcc -Wall -O2 hello.c -o hello.exe > > ^^^ > > > > For C++ source, use instead > > > > gpp -Wall -O2 hello.c -o hello.exe > > > yes, i tried this line and i think its working here, well, im not > getting errors ;) .. but there is something that i dont understand... > i wrote that line in C:\CFILES\ thats where my programs are located, > and after pressing enter, it took like two seconds for the computer to > *read* the command line and then i just get C:\CFILES\> again, as if > it just created the hello.exe and not run it... is that whats supposed > to happen? Yes. >because i tried to open it manually by locating the > hello.exe and rclicking on it. it opened and closed quickly. Argh..., don't do this. Just type at command prompt C:\CFILES\hello > > i have hello.cpp running as a project and it works fine, but i want to > understand the command the compiles and runs it right away.. i thought > it was cool.. so please, if you can clear things out for me, that > would be great. The command line gpp ... just compile and link the program. You *need* invoke your *exe*. > > thanks, > Shaymaa >