delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/09/21:32:31

Sender: nate AT cartsys DOT com
Message-ID: <361EB85C.FA683B7D@cartsys.com>
Date: Fri, 09 Oct 1998 18:29:00 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: djgpp compiler
References: <001301bdf3ad$77bb5760$d1eb5cc3 AT steve-furniss>
Reply-To: djgpp AT delorie DOT com

> STEPHEN FURNISS wrote:
> 
> hello i wondered if anybody could help me,i have just obtained a copy
> of the "c" compiler "djgpp",i have unzipped all the files as per the
> instructions
> but i do not know which program to start that allows me to write a "c"
> program
> and which program to use to compile and run it.
> i am new to using this compiler so i would really appreciate some help
> in this matter.
> up to now i have tried to run the program "gcc",but all i get back is
> no input file,does this mean i am trying to compile a program before
> i have even written it ?.
> if this is so i need to now what application to start that allows me
> to
> write the program.

Yes, `gcc' is a command line compiler, so you have to write the source
before compiling it.  You can use any text editor to write your source;
DOS EDIT may work fine to start.  Save it as a *.c file, then say
something like

gcc -o foo.exe foo.c

As an alternative, there's a program called RHIDE which integrates
editing, compiling and debugging.  You can find it where you got DJGPP.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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