On Mon, Mar 9, 2009 at 2:42 AM, Bernd Roesch <nospamn...@web.de> wrote:
> Hello Richard
>
> On 06.03.09, you wrote:
>
> ah thanks for info, i understand now too wy sqrtf, fmod (work in C programs)
> get linker error on C++ programs but sqrt and some other work on platform
> 68k.
> in c++/4.3.2/cmath include
>
> is this code.
>
> using ::sqrt;
>
>  inline float
>  sqrt(float __x)
>  { return __builtin_sqrtf(__x); }
>
> But .md file of many architetures contain no entry for this.I see only i386,
> rs6000, ia64, sh contain code for this.(I search for sqrtf and list files
> that contain this)
> the header files are build during GCC build, i change nothing.
>
> Is there something wrong during compiler Build process ?

The above sqrt() function is distinct from the C version, because
it has a C++ linkage.  Consequently, I would expect that if
__builtin_sqrtf() is not available, the compiler would emit a
library call to the out-of-line C version.

-- Gaby

Reply via email to