delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/19/11:38:12

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE question
Date: Wed, 19 Mar 1997 11:08:17 +0100
Organization: TU Chemnitz-Zwickau
Lines: 29
Message-ID: <332FBB11.414@Mathematik.tu-chemnitz.de>
References: <2 DOT 2 DOT 32 DOT 19970318193402 DOT 006cf574 AT mailhost>
NNTP-Posting-Host: daemon.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eyal Ben-David wrote:
> 
> Sometimes the program needs '-lstdcx' but it isn't there unless this library
> is added by "OPTIONS | LIBRARY"  menu.
And I think this should be the normal way to add an additional library.

> How can I configure RHIDE to include '-lstdcx' automatically (or maybe
> to invoke g++ instead) ?

Both is possible. To add "-lstdcx" automatically when RHIDE adds
"-liostr"
add the following line to you djgpp.env file in the [rhide] section:

RHIDE_LIBS=$(addprefix -l,$(subst iostr,iostr stdcx,$(LIBS)))

and for setting gxx (not g++) as default when linking (but then
it is used also when linking not C++ programs !!!) add the following
line:

RHIDE_LD=gxx

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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