On Tue, 12 Jan 2010 12:51:00 -0800
Rob Farmer <rfar...@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.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to