delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/09/10:44:20

Reply-To: <arfa AT clara DOT net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>, <bttcon AT icon DOT co DOT za>
Subject: RE: Setting up djgpp?
Date: Sun, 9 Aug 1998 15:44:23 +0100
Message-ID: <000301bdc3a4$32cd2540$7a4d08c3@arthur>
MIME-Version: 1.0
In-Reply-To: <35cd8d02.5148299@news.icon.co.za>
Importance: Normal

> Hi.
>
> I've programmed in Pascal the past few years and recently switched to
> C (or trying to :) ). I've downloaded basically the whole djgpp
> package, but have trouble setting it up.
>
> For example, how do I configure the Directories (in RHIDE)?. What is a
> project file? When do I use Make, gcc.exe, RHIDE.exe etc?
>
> Any help would be appreciated.
>
> Cobus.
>

I assume you've read both the FAQ and the readme file. Basically everything should be
unzipped to a directory (such as C:\DJGPP) and a few lines added to your autoexec.bat
file.

RHIDE is an IDE, an Integrated Development Environment. From within the RHIDE
interface you can manage, compile and debug your programs. RHIDE is not best used as
a simple editor. What it does best is create programming projects. Create a folder on
your hard disk and open a project in that directory (called whatever you want the
program to be called). When you want to add a file to your project, click on add
item. If you click on PROJECT under the WINDOWS menu, you should see the list of
files in your project. To compile and link them click on BUILD ALL in the COMPILE
menu. To run it click on RUN in the RUN menu. To link with a library go to the
LIBRARIES option and enter the name of the library in a space there. So for instance
to link with the Allegro library, enter "alleg" into a space there.

HTH

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819

- Raw text -


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