Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Markus Wichmann <nullplan@gmx.net> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: Floating point support not loaded |
| Date | 2012-03-26 13:31 +0200 |
| Organization | 1&1 Internet AG |
| Message-ID | <uk0649-8mv.ln1@voyager.wichi.de.vu> (permalink) |
| References | (2 earlier) <9a135814-206f-482c-a3f0-6e199b690b31@l7g2000vbw.googlegroups.com> <2ce3e2be-5693-4766-847b-363c75ac22fd@i2g2000vbv.googlegroups.com> <lnlimphees.fsf@nuthaus.mib.org> <20m549-jhr.ln1@voyager.wichi.de.vu> <jkphi1$g5j$1@dont-email.me> |
On 26.03.2012 12:48, James Kuyper wrote: > On 03/26/2012 04:29 AM, Markus Wichmann wrote: >> That's another can of worms. The way I see it, the designers of that >> system's *scanf() did a bad job, because they depend on floating-point >> support at runtime, but don't tell anyone during link time. My take on >> it is that the compiler tries linking without libm and if that doesn't >> work, tries it with libm. ... > > I presume that one of those two "libm"s was supposed to be something else? No. Perhaps I should add some emphasis: The linker first tries to link _without_ libm. Then, if that doesn't work, the link is tried again, this time _with_ libm. Note that that is one possible explanation for the weird behaviour the OP is experiencing. The real reason may be something entirely different. Still, what I meant by the above is that the compiler can't be faulted for mistakes of linker and library. Ciao, Markus
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Floating point support not loaded lolzy@live.nl - 2012-03-24 03:04 -0700
Re: Floating point support not loaded Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-03-24 04:15 -0700
Re: Floating point support not loaded Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-03-24 08:05 -0400
Re: Floating point support not loaded lolzy@live.nl - 2012-03-24 10:15 -0700
Re: Floating point support not loaded lolzy@live.nl - 2012-03-24 10:51 -0700
Re: Floating point support not loaded Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-03-24 14:27 -0400
Re: Floating point support not loaded Keith Thompson <kst-u@mib.org> - 2012-03-24 14:34 -0700
Re: Floating point support not loaded Markus Wichmann <nullplan@gmx.net> - 2012-03-26 10:29 +0200
Re: Floating point support not loaded James Kuyper <jameskuyper@verizon.net> - 2012-03-26 06:48 -0400
Re: Floating point support not loaded Markus Wichmann <nullplan@gmx.net> - 2012-03-26 13:31 +0200
Re: Floating point support not loaded James Kuyper <jameskuyper@verizon.net> - 2012-03-26 08:42 -0400
csiph-web