Ticket #1186 (new defect)

Opened 13 days ago

MIPS endianness sed line is wrong

Reported by: bradfa Owned by: clfs-commits@…
Priority: major Milestone: CLFS Embedded 1.0.0
Component: BOOK Version: CLFS Embedded GIT
Keywords: Cc:


As reported on the mailing list by Tobias:

In Section 4.4 Build Variables ( http://www.clfs.org/view/clfs-embedded/mips/cross-tools/variables.html) right after Table 4.2 in the Commands-Box where it says "Now we will set the architecture ... based on the target triplet provided above", the reader is advised to export CLFS_ARCH as "mips".

Followed by a sed-expression which is obsolete, as the Endianess returned by the expression will always be "big", if the CLFS_ARCH is exported as "mips" just one line earlier - however, one might set the CLFS_ARCH to "mipsel" based on the instructional text which references the Table above. In latter case, the Endianess would indeed return "little", allthough the remainder of the Book an invalid CLFS_ARCH set to "mipsel" would fail any Compilation attempts.

Note: See TracTickets for help on using tickets.