Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIPS endianness sed line is wrong [trac #1186] #11

Open
bradfa opened this issue Mar 1, 2019 · 0 comments
Open

MIPS endianness sed line is wrong [trac #1186] #11

bradfa opened this issue Mar 1, 2019 · 0 comments

Comments

@bradfa
Copy link
Member

bradfa commented Mar 1, 2019

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.

This is trac ticket: https://trac.clfs.org/ticket/1186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant