From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Lost (New To Your Site) Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <382363463 DOT 953406622374 DOT JavaMail DOT root AT web35 DOT pub01> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 82 X-Trace: 9mr0rdrsN5WCSicMo8yuR/3Gb34X2g1UXLNYcdi27KyDXZRlefrb4OSSkLDR/ut35rcx+5mEIuSe!ImlQzhi0S5y+nFvziOtduz132LOo01bnYRE+Dw8xUR1uTY/twFlhfRFlGoXFir4kpPhqLD7PwD58!NnFnM5E= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 18 Mar 2000 21:22:41 GMT Distribution: world Date: Sat, 18 Mar 2000 21:22:41 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 18 Mar 2000 14:10:22 -0500 (EST), Mike Daniels wrote: >1.) First, in your FAQ, there is no mention of being able to "access" the >Compiler! . From README.1ST 66 Compilation ----------- GCC is a command-line compiler, which you invoke from DOS command line. To compile and link a single-file C program, use a command like this: gcc myfile.c -o myfile.exe -lm 99 >Being new to "C", I assumed that you need an "environment" to >write your "code" in So how were the "environments" written? >(like a "form" in VB, or an "Editor" in Dos). An "editor" that you may already have: edit.com or notepad.exe >I tried to type "GCC" at the DOS prompt, only to receive: >"No Input Files ". Am I doing something wrong? Yes: you're not telling gcc what to compile. Try this: A:\>edit hello.c (type in your program) A:\>gcc hello.c -o hello.exe A:\>hello >so,I'm using the RHIDE Editor in the meantime!. Are you using a "project file" (*.gpr)? >2.) Second, in the RHIDE compiler, would like to "Save" the "Code" and >"Compiled" files on Floppy Disk (not on the Hard Drive) Bad idea. DJGPP compiled programs are somewhat large, and the repeated writing and rewriting can quickly wear out a floppy disk and drive as well as your patience waiting for compiles to complete. That is, unless you're working on a restricted system where C:\...\*.* is read-only. Is this the case? You could try starting RHIDE from the floppy drive: A:\>rhide foo.gpr >but there is no "option" to save it on any "Drive" but the default!. Project > main targetname A:\ >3.) Third, most of "files" downloaded must be "read" using the >"Open With" dialog box. But, with "What"?! WinZip perhaps? You can read *.c, *.cpp, and *.txt with edit.com or notepad.exe among other things. >So you see, I'm really looking for some reference for "Beginners" and I hope >that I didn't bore you with the "Basics". Have you read through README.1ST and the first sections of the FAQ list? -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/