Mail Archives: djgpp/1998/10/21/10:51:20
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 -