Skip to content

Raspberry Pi doesn't have 128-bit integer types on gcc #5

Description

@athornton

The Pi doesn't define 128-bit integer types, and therefore the things that assume [u]int128_t don't work. There is no mode TI on the machine.

Clang does work, but then you should probably state that it's required for the Pi (and whatever else there is that gcc doesn't support the 128-bit types on), or implement 128-bit types with GMP or something (which would be more painful). Also udplib, in the Makefile, assumes clang rather than $(CC); I don't know if that's intentional or not.

udplib : udplib.c udplib.h

  •   clang udplib.c -o udplib -DTEST=1
    
  •   $(CC) udplib.c -o udplib -DTEST=1
    

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions