Opened 5 years ago

Closed 4 years ago

#1186 closed defect (migratedtogithub)

MIPS endianness sed line is wrong

Reported by: Andrew Bradford 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 ( 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.

Change History (2)

comment:1 Changed 4 years ago by Andrew Bradford

comment:2 Changed 4 years ago by Andrew Bradford

Resolution: migratedtogithub
Status: newclosed
Note: See TracTickets for help on using tickets.