This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: gcc/glibc __cmpdi2 function?
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: gcc/glibc __cmpdi2 function?
- From: Scott Bambrough <scottb at netwinder dot org>
- Date: Mon, 08 May 2000 14:22:15 -0400
- Organization: Rebel.com
- References: <000d01bfb8bd$66800960$e200a8c0@zoo.at> <3916E1D9.56837EA1@cs.utk.edu>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
It should come from libgcc, a library that comes with the compiler.
Scott
"Philip J. Mucci" wrote:
>
> Hi all,
>
> I'm dl-loading a library into a running application. This library is
> very small, and consists of the following line that gives me trouble.
>
> void bar(unsigned long long foo)
> {
> double baz = (double)foo;
> }
>
> When loading this library, I get 1 undefined reference, namely __cmpdi2.
>
> I have nm'd about every .o, .so and .a on my system, and I'm starting to
> believe that this function is an intrinsic. Can anyone help me out. I'm
> not sure how to proceed. (Which is a rare case over my 10 years of Unix
> hacking...)
>
> Thanks!
>
> -Philip
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org