arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-m64’
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-mmx’
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-sse’
arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-red-zone’
arm-linux-gnueabihf-gcc: error: unrecognized command line option
‘-mcmodel=kernel’
This happens every time I try to build new arch code this week. Is there a easy
fix for this?
Cheers Nick
It looks like its trying to invoke the native (x86) compiler, but
passing it options that only make sense to an ARM compiler.
Cheers
Roberto J. Dohnert
Roberto J. Dohnert
Lead Developer
Black Lab Software Inc.
PO Box 698
Franklinton NC 27525
http://www.pc-opensystems.com
http://www.blacklablinux.org
On 07/20/2014 12:03 AM, Nick Krause wrote:
> arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-m64’
> arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-mmx’
> arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-sse’
> arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-mno-red-zone’
> arm-linux-gnueabihf-gcc: error: unrecognized command line option
> ‘-mcmodel=kernel’
> This happens every time I try to build new arch code this week. Is there a easy
> fix for this?
> Cheers Nick
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
On Sun, Jul 20, 2014 at 12:10 AM, Roberto J. Dohnert
<[email protected]> wrote:
> It looks like its trying to invoke the native (x86) compiler, but passing it
> options that only make sense to an ARM compiler.
>
> Cheers
>
> Roberto J. Dohnert
> Roberto J. Dohnert
> Lead Developer
> Black Lab Software Inc.
> PO Box 698
> Franklinton NC 27525
> http://www.pc-opensystems.com
> http://www.blacklablinux.org
>
>
> On 07/20/2014 12:03 AM, Nick Krause wrote:
>>
>> arm-linux-gnueabihf-gcc: error: unrecognized command line option ‘-m64’
>> arm-linux-gnueabihf-gcc: error: unrecognized command line option
>> ‘-mno-mmx’
>> arm-linux-gnueabihf-gcc: error: unrecognized command line option
>> ‘-mno-sse’
>> arm-linux-gnueabihf-gcc: error: unrecognized command line option
>> ‘-mno-red-zone’
>> arm-linux-gnueabihf-gcc: error: unrecognized command line option
>> ‘-mcmodel=kernel’
>> This happens every time I try to build new arch code this week. Is there a
>> easy
>> fix for this?
>> Cheers Nick
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/
>>
>
That was a stupid mistake :). I would like to known how to cross
compile only one directory
as I am primarily doing arm fix mes.
Cheers Nick