RW rwmaillists at googlemail.com
Wed Jan 13 02:41:55 UTC 2010

On Tue, 12 Jan 2010 12:51:00 -0800
Rob Farmer <rfarmer at predatorlabs.net> wrote:

> I'm trying to create a port of an application which only works on
> little endian systems and I'm trying to figure out how to set
> ONLY_FOR_ARCHS.  Wikipedia says PowerPC, Sparc, and IA64 are bi-endian
> and the OS chooses the mode. I'm not familiar with these platforms -
> I'm sure it has been answered somewhere, but I can't find it - which
> FreeBSD archs are little/big endian? Thanks.

Perhaps your makefile could check endianess on the build machine and set
IGNORE if it's bigendian, e.g. if the output of "file /bin/ls" doesn't
contain LSB.

More information about the freebsd-questions mailing list