Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2012 18:57:51 +0000
From:      "Alex T." <dioxinu@gmail.com>
To:        Oleksandr Tymoshenko <gonzo@bluezbox.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: beaglebone
Message-ID:  <CABt%2Bj0nkarQAvv%2BRbZjxhUZ30JbUNf-_-rNVyJOQx7UdKJoY1A@mail.gmail.com>
In-Reply-To: <4F8DB1B9.1010604@bluezbox.com>
References:  <FE86500B-9B6F-458E-A74B-9D3BC4530BAC@freebsd.org> <CABt%2Bj0==MY1N8esvF0vdX5XHkigcjj_v1f1DJdot8KKxC_-dDA@mail.gmail.com> <4F8DB1B9.1010604@bluezbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes you are right, I missed this step. Now that I ran it I have the
toolchain built. But unfortunately, I get the same issue. I don't know if
this matters, but

1) I'm not building under /usr/src. I have the source code checked out to a
different location.
2) I defined MAKEOBJDIRPREFIX, KERNSRCDIR, and ROOT.

On 17 April 2012 18:08, Oleksandr Tymoshenko <gonzo@bluezbox.com> wrote:

> On 17/04/2012 11:00 AM, Alex T. wrote:
>
>> Just a quick question. What compiler do you use? When I start the kernel
>> compilation the gcc from my base system is used, which is gcc 4.2.1, and
>> it
>> complains about armv6 target cpu:
>>
>> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
>> cc1: error: unrecognized command line option "-mlittle-endian"
>> sys/arm/arm/genassym.c:1: error: bad value (armv6) for -march= switch
>> sys/arm/arm/genassym.c:1: error: bad value (armv6) for -mtune= switch
>>
>> Do you override CC by any chance?
>>
>
> It's stock toolchain from projects/armv6 tree. You just need
> to build it first.
>
> Run
>
> make TARGET_ARCH=arm TARGET_CPUTYPE=armv6 kernel-toolchain
>
> before making buildkernel.
>
> ______________________________**_________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-arm<http://lists.freebsd.org/mailman/listinfo/freebsd-arm>;
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@**freebsd.org<freebsd-arm-unsubscribe@freebsd.org>
> "
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABt%2Bj0nkarQAvv%2BRbZjxhUZ30JbUNf-_-rNVyJOQx7UdKJoY1A>