Author Topic: undefined reference to `__strtod'  (Read 5400 times)

yy

  • Guest
undefined reference to `__strtod'
« on: March 31, 2011, 11:30:44 am »
 I am a new user, but the even the most simple example of cout , there is a error like following:

 c:\programme\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\libstdc++.a(c++locale.o):c++locale.cc|| undefined reference to `__strtod'|
||=== Build finished: 1 errors, 0 warnings ===|
I use the global compiler settings with GUN GCC Complier.

How to solve this problem. Ask your kind help.
Thanks!
« Last Edit: March 31, 2011, 11:37:13 am by yy »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: undefined reference to `__strtod'
« Reply #1 on: March 31, 2011, 01:29:19 pm »
How to solve this problem.
Ask in the appropriate forum. This is a forum related to the development of Code::Blocks itself, not how to use any (of the many) compiler(s) Code::Blocks supports.

I'd suggest you search for a GCC/MinGW related forum.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ