www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/20/14:30:40

Date: Tue, 20 May 1997 14:29:52 -0400 (EDT)
From: "Art S. Kagel" <kagel AT ns1 DOT bloomberg DOT com>
To: Alexander Borghgraef <aborghgr AT eduserv2 DOT rug DOT ac DOT be>
Cc: djgpp AT delorie DOT com
Subject: Re: Newbie question: Linking in RHide
In-Reply-To: <33814CF5.F50@eduserv2.rug.ac.be>
Message-Id: <Pine.D-G.3.91.970520142647.20897C-100000@dg1>
Mime-Version: 1.0

On Tue, 20 May 1997, Alexander Borghgraef wrote:

> I am about to finish my first ever DJGPP-project (my first C++ project
> whatsoever), and I've fixed all compile bugs. The program consists out
> of several *.cc and *.h files, which I've put in a project file using
> RHide. It also uses Allegro routines and that's where my problem kicks
> in. I know that command line compilation of a single file can be done by
>               gxx file.cc -o file.exe -lalleg
[SNIP]
> Hope someone can help me out on this, I would greatly appreciate it.
> 

For the command line compiler this is easy:

gxx -o file.exe *.cc -lalleg

I do not use RHIDE so I cannot give you details, but, in general, in case 
noone else replies, you need to define a project containing all of your 
*.cc files and then have RHIDE 'MAKE' that.  Check the RHIDE docs.

Art S. Kagel, kagel AT bloomberg DOT com


- Raw text -


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