Summary: | ebuild command to return endianness of architecture | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Jeremy Huddleston (RETIRED) <eradicator> |
Component: | Core - Ebuild Support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeremy Huddleston (RETIRED)
![]() if your only need is for .c code then #include <sys/types.h> #if BYTE_ORDER == LITTLE_ENDIAN #warn little ! #endif #if BYTE_ORDER == BIG_ENDIAN #warn big ! #endif |