This is an archive of the discontinued LLVM Phabricator instance.

Fix typo in cross-compilation docs: -fpu -> -mfpu
ClosedPublic

Authored by vsukharev on Jun 3 2015, 2:41 AM.

Details

Summary

Using currently documented "-fpu" option, I face an error:
$ clang --target=arm-none-eabi -mcpu=cortex-a9 -fpu=vfpv3-fp16 ~/tmp/hello.c
clang-3.7: error: unknown argument: '-fpu=vfpv3-fp16'

Though "-mfpu" option works fine. So "-fpu" seems like a typo in docs

Diff Detail

Repository
rL LLVM

Event Timeline

vsukharev updated this revision to Diff 27028.Jun 3 2015, 2:41 AM
vsukharev retitled this revision from to Fix typo in cross-compilation docs: -fpu -> -mfpu.
vsukharev updated this object.
vsukharev edited the test plan for this revision. (Show Details)
vsukharev added a reviewer: rengolin.
vsukharev set the repository for this revision to rL LLVM.
vsukharev added a subscriber: Unknown Object (MLST).
rengolin accepted this revision.Jun 3 2015, 2:52 AM
rengolin edited edge metadata.

Ouch, looks like a typo. LGTM, Thanks!

This revision is now accepted and ready to land.Jun 3 2015, 2:52 AM
This revision was automatically updated to reflect the committed changes.