32-bit Changes

Stefan Bellon sbellon at sbellon.de
Mon Apr 21 10:48:11 PDT 2003

Peter Naulls wrote:
> In message <4be6af0e47sbellon at sbellon.de> you wrote:

> > * Due to the fact that off_t and others are now long long and not
> >   long int anymore, there's a desperate need for all those _ll_*
> >   functions when linking against UnixLib with Norcroft.

> John T's ll stuff hadn't made it into the trunk yet.  It's there now.

Ok, but still, _ll_udiv and _ll_sdiv for example aren't implemented
yet. It's now difficult to do things like ...

   off_t offset;
   ulong recnum;

   offset = lseek( ... );
   recnum = offset / RECORD_LEN;

... because off_t is now 64-bit but the 64-bit divide needed isn't
implemented yet.

Stefan Bellon

More information about the gcc mailing list