lkml.org 
[lkml]   [2000]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: can I use u64 on an i386
Date
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.

Do you really need 64 bit division ?
Can't they be replaced by bit shifts ?

> 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.

Probably your program was linked with gcc internal library. Kernel generally
is not.

--
=======================================================================
Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Technical University of Gdansk


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.056 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site