delorie.com/archives/browse.cgi | search |
From: | shayoom AT hotmail DOT com (Jonquil) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: about: aout.exe |
Date: | 26 Nov 2002 11:04:29 -0800 |
Organization: | http://groups.google.com/ |
Lines: | 25 |
Message-ID: | <63b211f7.0211261104.5ba122b@posting.google.com> |
References: | <3DDFA0CA DOT 000009 DOT 03244 AT DELL> <Xns92CF728D3F9Aasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <63b211f7 DOT 0211240900 DOT a1f0a57 AT posting DOT google DOT com> <Xns92D096DC170A6asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <63b211f7 DOT 0211250711 DOT 7d6a37a5 AT posting DOT google DOT com> <OE494A6QlCWie55VI7o00002f38 AT hotmail DOT com> |
NNTP-Posting-Host: | 213.189.83.103 |
X-Trace: | posting.google.com 1038337469 24424 127.0.0.1 (26 Nov 2002 19:04:29 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | 26 Nov 2002 19:04:29 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> > > 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? because i tried to open it manually by locating the hello.exe and rclicking on it. it opened and closed quickly. 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. thanks, Shaymaa
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |