Mail Archives: djgpp/2002/06/14/13:47:57
On 14 Jun 2002, Rafal 'Raf256' Maj wrote:
> Andris Pavenis <pavenis AT lanet DOT lv> wrote in
> news:Pine DOT A41 DOT 4 DOT 05 DOT 10206140935010 DOT 18000-100000 AT ieva06:
>
> >> Error: c:/djgpp/lib/gcc-lib/djgpp/3.1/libstdcxx.a(c++locale.o):
> >> `void std::__convert_to_v<float>(char const*, float&,
> >> std::_Ios_Iostate&, int* const&, int)':
> >> c++locale.o(135) Error: undefined reference to `_finite'
> >> Error: collect2: ld returned 1 exit status
> > You haven't said anything about command line You used (or whether
> > You tried to compile the example under RHIDE).
>
> it was under RHIDE 1.5
>
> > About problem You have: You should link libm.a after libstdcxx.a
>
> How can I do this under RHIDE ?
> I tryide to disable [ ] link standart libraries
Don't do. Simply put both libstdcxx and libm in list of libraries
to be linked (there is no harm from linking libstdcxx twice).
Or other way. Remove [rhide] section from DJGPP.ENV (backup file
at first to be able to return if needed). Latest updates of RHIDE
have correct settings.
Andris
- Raw text -