This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc/glibc __cmpdi2 function?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]