delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/14/10:38:52

From: "Rafal 'Raf256' Maj" <rafal AT raf256 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gcc 3.10 and <iostream>
Date: 14 Jun 2002 12:44:03 GMT
Organization: news.onet.pl
Lines: 27
Sender: raf256 AT poczta DOT onet DOT pl@62.233.182.179
Message-ID: <Xns922D967E35F54raf256com@213.180.128.20>
References: <Pine DOT A41 DOT 4 DOT 05 DOT 10206140935010 DOT 18000-100000 AT ieva06>
NNTP-Posting-Host: 62.233.182.179
X-Trace: news.onet.pl 1024058643 15480 62.233.182.179 (14 Jun 2002 12:44:03 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 14 Jun 2002 12:44:03 GMT
User-Agent: Xnews/5.03.24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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
then I added manualy cxxstd and c
how can I add crt0.a ? The problem is - this name does not start from 'lib' 
and using crt0 makes linker search for libcrt0.a
What exacly libraries do I need ?
When some path will be relased ?
Is this a bug in GCC ? afair order of linking libraries should'nt make any 
difference

-- 
Rafał 'Raf256' Maj

- Raw text -


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