www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/15/08:06:47

Date: Sat, 15 Sep 2001 14:59:21 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "dune911" <dune AT gbone DOT de>
Message-Id: <2593-Sat15Sep2001145920+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3ba33392$0$12586$9b622d9e@news.freenet.de> (dune@gbone.de)
Subject: Re: DJGPP setup help needed
References: <3ba30d44$0$1814$9b622d9e AT news DOT freenet DOT de> <3ba33392$0$12586$9b622d9e AT news DOT freenet DOT de>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "dune911" <dune AT gbone DOT de>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 15 Sep 2001 12:54:08 +0200
> 
> how to compile simple *.c and *.cc files?
> can someone post the syntax please?
> 
> when i try the following
> 
> gcc -o file.c file.exe or
> gxx -c file.cc file.exe
> 
> it displays "file.exe - file not found".

It's the other way around:

   gcc -o file.exe file.c

The "-o" switch means put output into the file that follows "-o".

> is there a program added, where i can create my
> sourcecode or can i write it in every editor?

You can use any text editor you like.  If you wan a DJGPP-specific
IDE, get RHIDE.

- Raw text -


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