Mail Archives: djgpp/1997/06/25/03:21:20
sar AT maties DOT sun DOT ac DOT za wrote:
: Hi,
: I am trying for about two hours now to get RHIDE to compile a simple
: "hello world" standard C program. It is coded correctly, and if I
: compile it my manually typing in the GCC command line, it works 100
: percent. However, RHIDE is hideously complex that it has been totally
: impossible to do even such a simple thing as write a "hello world"
: thingy in it. Can somone please PLEASE walk me through the EXACT menu
: actions in it to get it to compile such a stupid program from a clean
: state where nothing has been configured in it yet, and then run it form
: withing RHIDE? It keeps compiling into an object file and then saying it
: can't find some kind of other file. How the heck do I get it to compile
: to an .exe?
: RHIDE looks powerful but man! Two (literally) hours to get it to do a
: simple "Hello World" and no luck? They say its like TP6's IDE (which I
: know and love) but this?!?
: Maybe I should drop it and rather use my old TP6 IDE?
I downloaded the basic C stuff and rhide for djgpp yesterday.
The only problem I had was forgetting to put djgpp in the path. I wrote
the program and saved it as hello.c and then I hit F9. That is the make
keyboard shortcut.. worked fine...
One thing I noticed was that once I made it I couldn't remake it later for
some reason.... but that problem happened only after I was messing with
the options and then disappeared when I erased the options save files...
btw here's what I had as the program:
#include <stdio.h>
int main() {
puts("Hello World!\n");
return(0);
}
that's it... just hit F9 and you suddenly have a hello.exe that works
fine...!
--
-------------------------------------------------------------------------------
joshd __ __ ____ ___ ___ ____
joshd AT primenet DOT com /__)/__) / / / / /_ /\ / /_ /
/ / \ / / / / /__ / \/ /___ /
-------------------------------------------------------------------------------
- Raw text -