Mail Archives: djgpp/2000/03/18/17:35:46
On Sat, 18 Mar 2000 14:10:22 -0500 (EST), Mike Daniels
<mad1455 AT mail DOT com> 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/
- Raw text -