[Clfs-dev] Bug/Notice Section 4.4, Embedded CLFS GIT-20171012-mips

Tobias Vogel tobias.vogel at linux.com
Thu Feb 1 18:12:45 PST 2018


Hello everybody,

I came across this errornous / misleading Paragraph in the Embedded Version (MIPS) of the CLFS and just wanted to let you know in Case noone else already reported it:

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.

Hope this helps. 
Regards,

Tobias Vogel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20180202/467c963f/attachment-0002.html>


More information about the Clfs-dev mailing list