www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/15/15:48:07

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Hello. I need help with GCC...
Date: 15 Dec 2001 20:36:47 GMT
Organization: Cornell University
Lines: 36
Sender: asu1 AT cornell DOT invalid (on 46.syracuse-02rh15rt.ny.dial-access.att.net)
Message-ID: <Xns91789ED37A651ASINANUNUR@132.236.56.8>
References: <15724200112615191528281 AT hehe DOT com>
NNTP-Posting-Host: 46.syracuse-02rh15rt.ny.dial-access.att.net
X-Trace: news01.cit.cornell.edu 1008448607 20502 12.89.10.46 (15 Dec 2001 20:36:47 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 15 Dec 2001 20:36:47 GMT
User-Agent: Xnews/4.06.22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019