[cfe-users] error: unknown target CPU 'pentium-m'
Anonymous User via cfe-users
cfe-users at lists.llvm.org
Tue Oct 2 10:36:36 PDT 2018
I found this info:
https://stackoverflow.com/a/35061913
which suggests running:
$ llc --version
(to show supported architectures)
$ llc -march=ARCH -mattr=help
(to list "available CPUs" and "available features")
So I found for my case:
$ llc -march=x86 -mattr=help
Available CPUs for this target:
...
pentium-m - Select the pentium-m processor.
...
And I modified my script to use:
CFLAGS='-O3 -march=x86 -mtune=pentium-m'
Unfortunately clang complains again:
error: unknown target CPU 'x86'
note: valid target CPU values are: (same old list)
I hope someone can shed some light on all this. There
seem to be others complaining from the lack of info.
--
George
More information about the cfe-users
mailing list