From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: I don't know how to compile! Date: Sun, 17 Aug 1997 15:31:47 -0700 Organization: Alcyone Systems Lines: 37 Message-ID: <33F77BD3.6DD59178@alcyone.com> References: <970813154204_1216939487 AT emout06 DOT mail DOT aol DOT com> <5svj10$bca AT bagan DOT srce DOT hr> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Vlatko Surlan wrote: > > I have started with djgpp recently too, but in C. > For C it goes gcc -o myfile.c myfile.exe > > for c++ think it should bee gpp -o myfile.cpp myfile.exe > > but I'm not shure. Offering help with answers you're unsure of (and which happen to be wrong) is much worse than not helping at all. What you meant was gcc myfile.c -o myfile.exe for C and gxx myfile.cpp -o myfile.exe for C++. > The best would bee to get IDE ( Emacs or rhide ) > and when you configure it corectly all you'll have to do > is press some combinations like Alt-F9 ( in RHIDE ) In emacs you'll be able to hit M-x compiler RET to start make in the current directory, but that of course presumes you understand makefiles and in the makefiles you'll have to do the above call to gcc/gxx anyway. -- Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com Alcyone Systems / web / http://www.alcyone.com/max/ San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W \ "Love is not love which alters / when it alteration finds." / William Shakespeare, _Sonnets_, 116