endianess in rules.mk for mips

Mike Frysinger vapier at gentoo.org
Wed Jul 15 14:32:02 UTC 2009


On Tuesday 14 July 2009 22:35:17 Amker.Cheng wrote:
>     I just found that there mybe something wrong about setting
> endianess in Rules.mk for mips.
> around line Rules.mk:337, there are no codes like:
>
>         CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN)+=-Wl,-EL
>         CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-Wl,-EB
>
> So, by default big-endian object files will be generated even I set
> little-endian in make config(for mips).
>
> Is it a bug or I have missed anything?

since -EB/-EL are standard GNU ld options rather than target-specific, we 
should probably add these for everyone rather than doing it for only some 
targets.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090715/97c8592e/attachment.pgp>


More information about the uClibc mailing list