Mail Archives: djgpp/2001/12/15/15:48:07
"Master Sonic" <MasterSonic AT hehe DOT com> wrote in
news:15724200112615191528281 AT hehe DOT com:
> I have been trying to make GCC work for me. I looked in the frequently
> asked questions and a few other things but I can't seem to find my
> problem. Each time I try to open GCC, it opens but it says:
> gcc.exe: No Input Files
> And then it wont let me do anything else. I'm thinking that I have to
> download something more. I do have as.exe and I do have ld.exe . Could
> you please tell me how to fix this problem? I would really appreciate
> it. I also have one more question. GCC is for compiling and linking
> right? I would also appreciate it if you would tell me that too.
first off, gcc is not an IDE, it is a command line tool. therefore, you
need to supply it with command line arguments. hence, if you have your
source code in hello.c, then you should do
gcc -Wall hello.c -o hello.exe
to get the executable.
second, you should have read the file called readme.1st. there is a reason
for that name.
third, you should download the info package if you haven't done so already.
then, you can get help on various components of djgpp by typing info at the
command prompt.
sinan.
--
--------------------------------
A. Sinan Unur
http://www.unur.com/
- Raw text -