[cfe-users] error: unknown target CPU 'pentium-m'

Matthew Fernandez via cfe-users cfe-users at lists.llvm.org
Mon Oct 1 17:50:46 PDT 2018


> On Oct 1, 2018, at 12:00, via cfe-users <cfe-users at lists.llvm.org> wrote:
> 
> Date: Mon, 1 Oct 2018 21:41:23 +0300
> From: Anonymous User via cfe-users <cfe-users at lists.llvm.org>
> To: cfe-users at lists.llvm.org
> Subject: Re: [cfe-users] error: unknown target CPU 'pentium-m'
> Message-ID: <20181001214123.49bb8093 at localhost>
> Content-Type: text/plain; charset=US-ASCII
> 
> Can anyone help please?
> 
>> George

It’s hard to guess what you’re doing or what your expected outcome is without seeing your command line, but perhaps you’re using -march?

    $ clang -march=pentium-m main.c
    error: unknown target CPU 'pentium-m’
    $ clang -mtune=pentium-m main.c
    $


More information about the cfe-users mailing list