All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How to change compiler to newer in old build-root
@ 2018-07-12  7:58 Denis Kotov
  2018-07-12 11:19 ` Carlos Santos
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Kotov @ 2018-07-12  7:58 UTC (permalink / raw)
  To: buildroot

Hello everyone,

I am curious if I can change old gcc-4.8 compiler in buildroot-2014 to to
gcc-7 ??
I have just replace name of compiler from gcc-4.8 to gcc-7, but failed with
an error:

*>>> toolchain-external undefined Configuring*

What did I wrong ?

*Thanks,*

*Best RegardsDenis Kotov*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180712/44956bd0/attachment-0001.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] How to change compiler to newer in old build-root
  2018-07-12  7:58 [Buildroot] How to change compiler to newer in old build-root Denis Kotov
@ 2018-07-12 11:19 ` Carlos Santos
  2018-07-12 22:05   ` Denis Kotov
  0 siblings, 1 reply; 4+ messages in thread
From: Carlos Santos @ 2018-07-12 11:19 UTC (permalink / raw)
  To: buildroot

> From: "Denis Kotov" <redradist@gmail.com>
> To: "buildroot" <buildroot@busybox.net>
> Sent: Thursday, July 12, 2018 4:58:09 AM
> Subject: [Buildroot] How to change compiler to newer in old build-root

> Hello everyone,

> I am curious if I can change old gcc-4.8 compiler in buildroot-2014 to to gcc-7
> ??
> I have just replace name of compiler from gcc-4.8 to gcc-7, but failed with an
> error:

> >>> toolchain-external undefined Configuring

> What did I wrong ?

Support for GCC7 was introduced in Buildroot 2017.05:

$ git --no-pager log --oneline -1 4314161159c
4314161159 package/gcc: add support for gcc 7

$ git describe 4314161159c
2017.05-rc1-114-g4314161159

-- 
Carlos Santos (Casantos) - DATACOM, P&D
?Marched towards the enemy, spear upright, armed with the certainty
that only the ignorant can have.? ? Epitaph of a volunteer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] How to change compiler to newer in old build-root
  2018-07-12 11:19 ` Carlos Santos
@ 2018-07-12 22:05   ` Denis Kotov
  2018-07-13  0:19     ` Carlos Santos
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Kotov @ 2018-07-12 22:05 UTC (permalink / raw)
  To: buildroot

Thank you Carlos for reply,

Okay, but what if I want to add newer compiler without changing buildroot
version from 2014 to 2017.
Is it possible ?

And if no how to switch to new version of buildroot automatically. Is it
possible ?

On Thu, 12 Jul 2018 at 14:19, Carlos Santos <casantos@datacom.com.br> wrote:

> > From: "Denis Kotov" <redradist@gmail.com>
> > To: "buildroot" <buildroot@busybox.net>
> > Sent: Thursday, July 12, 2018 4:58:09 AM
> > Subject: [Buildroot] How to change compiler to newer in old build-root
>
> > Hello everyone,
>
> > I am curious if I can change old gcc-4.8 compiler in buildroot-2014 to
> to gcc-7
> > ??
> > I have just replace name of compiler from gcc-4.8 to gcc-7, but failed
> with an
> > error:
>
> > >>> toolchain-external undefined Configuring
>
> > What did I wrong ?
>
> Support for GCC7 was introduced in Buildroot 2017.05:
>
> $ git --no-pager log --oneline -1 4314161159c
> 4314161159 package/gcc: add support for gcc 7
>
> $ git describe 4314161159c
> 2017.05-rc1-114-g4314161159
>
> --
> Carlos Santos (Casantos) - DATACOM, P&D
> ?Marched towards the enemy, spear upright, armed with the certainty
> that only the ignorant can have.? ? Epitaph of a volunteer
>


-- 

*Best RegardsDenis Kotov*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180713/873657ef/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] How to change compiler to newer in old build-root
  2018-07-12 22:05   ` Denis Kotov
@ 2018-07-13  0:19     ` Carlos Santos
  0 siblings, 0 replies; 4+ messages in thread
From: Carlos Santos @ 2018-07-13  0:19 UTC (permalink / raw)
  To: buildroot

> From: "Denis Kotov" <redradist@gmail.com>
> To: "DATACOM" <casantos@datacom.com.br>
> Cc: "buildroot" <buildroot@busybox.net>
> Sent: Thursday, July 12, 2018 7:05:44 PM
> Subject: Re: [Buildroot] How to change compiler to newer in old build-root

> Thank you Carlos for reply,

> Okay, but what if I want to add newer compiler without changing buildroot
> version from 2014 to 2017.
> Is it possible ?

In theory, yes, but you'd need to cherry-pick dozens of commits that
upgraded the compiler support. Notice also that old packages may not compile
with newer compilers.

> And if no how to switch to new version of buildroot automatically. Is it
> possible ?

If you didn't change buildroot itself, yes. If you have local changes you
need to rebase them to a recent version. The best approach is to use a
br2-external, as described in the user manual.

-- 
Carlos Santos (Casantos) - DATACOM, P&D
?Marched towards the enemy, spear upright, armed with the certainty
that only the ignorant can have.? ? Epitaph of a volunteer

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-13  0:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-12  7:58 [Buildroot] How to change compiler to newer in old build-root Denis Kotov
2018-07-12 11:19 ` Carlos Santos
2018-07-12 22:05   ` Denis Kotov
2018-07-13  0:19     ` Carlos Santos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.