www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/21/10:51:20

Date: Wed, 21 Oct 1998 16:50:52 +0200 (MET DST)
From: Olivier Perron <perron AT art DOT alcatel DOT fr>
X-Sender: perron AT rtbsci146s
To: djgpp AT delorie DOT com
Subject: Re: Can someone help me with the Turbo Vision port which comes with
RHIDE ?
In-Reply-To: <199810211445.QAA41572@ieva06.lanet.lv>
Message-Id: <Pine.GSO.4.05.9810211645350.12310-100000@rtbsci146s>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Wed, 21 Oct 1998, Andris Pavenis wrote:

> 
> Perhaps You used project files from RHIDE-1.4.6 source distribution archive. Then all 
> sources from libtv.a is built with compiler options '-fno-rtti -fno-exceptions'. So to use 
> TVision in Your applications either rebuild libtv.a without these options or
> use same options for Your sources. I think Robert turned off
> exceptions and RTTI to have smaller executables, as these features
> is not used in RHIDE. 

Yes I did use the makefiles from RHIDE-1.4.6 source distribution.

> 
> Perhaps it may be sufficient to remove -fno-rtti from gcc options
> when building libtv.a
> 
> Try:
>   
> gxx -fno-rtti -o listbox.exe listbox.cc -L/djgpp/contrib/rhide-1.46/tvision -ltv
> 
> 
Bingo !
compiling my sample with -fno-rtti works.
Thank you very much.

Olivier.


- Raw text -


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