Re: can I use u64 on an i386

From: sat (satvinder@npi.stpn.soft.net)
Date: Wed Aug 02 2000 - 09:36:58 EST


Thanks Tigran,
It worked for me.

Regards,
Satvinder

On Wed, 02 Aug 2000, Tigran Aivazian wrote:
> works fine if you do:
>
> a) compile your module to relocatable object part1.o
>
> b) ld -r -o part.o part1.o libgcc.a
>
> where libgcc.a is in the output of "locate libgcc.a" - chose the one that
> looks best.
>
> Regards,
> Tigran
>
> On Wed, 2 Aug 2000, sat wrote:
>
> > Hello all,
> > I am having a small problem with the data type __u64 as my module uses
> > variable operations with that type.The module is getting compiled but when I
> > try to link it , it fails giving error " __udivdi3 symbol not recognised."
> > Does this mean that it can be done only in case of alpha architectures.
> >
> > I also tried a small program with "unsigned long long "and it worked fine
> > does that mean, probably ,gcc is taking care of its internal manipulations.
> > But seems like these operations are not supported in case of modules or kernel
> > level programming ..?
> > please enlighten me about it..
> > waiting for a reply,
> >
> > Regards,
> > Satvinder
> > PS:Please Cc to me as am not a member of this list
> >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
> >

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:08 EST