* [Buildroot] Arc and C-Sky toolchains
@ 2021-09-08 21:29 Giulio Benetti
2021-09-08 21:45 ` Giulio Benetti
2021-09-10 15:18 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Giulio Benetti @ 2021-09-08 21:29 UTC (permalink / raw)
To: Buildroot Mailing List; +Cc: Romain Naour, Thomas Petazzoni
Hello Romain, Thomas, All,
I can't understand the reason why Arc and C-Sky provide a special
toolchain(i.e. synopsis gcc10) instead of treating them like external
toolchains. Can you help me in understanding this?
Thanks a lot
Best regards
--
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] Arc and C-Sky toolchains
2021-09-08 21:29 [Buildroot] Arc and C-Sky toolchains Giulio Benetti
@ 2021-09-08 21:45 ` Giulio Benetti
2021-09-10 15:18 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Giulio Benetti @ 2021-09-08 21:45 UTC (permalink / raw)
To: Buildroot Mailing List; +Cc: Romain Naour, Thomas Petazzoni
On 9/8/21 11:29 PM, Giulio Benetti wrote:
> Hello Romain, Thomas, All,
>
> I can't understand the reason why Arc and C-Sky provide a special
> toolchain(i.e. synopsis gcc10) instead of treating them like external
> toolchains. Can you help me in understanding this?
Is it because differently from the external ones they are provided as
sources instead of binaries? If yes, then ok. But I would extend their
description in package/gcc/Config.in.host like:
- bool "gcc arc (10.x)"
+ bool "synopsys's designware gcc arc (10.x)"
and
- bool "gcc csky"
+ bool "official gcc csky"
What about it?
Best regards
--
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] Arc and C-Sky toolchains
2021-09-08 21:29 [Buildroot] Arc and C-Sky toolchains Giulio Benetti
2021-09-08 21:45 ` Giulio Benetti
@ 2021-09-10 15:18 ` Thomas Petazzoni
2021-09-10 19:43 ` Giulio Benetti
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2021-09-10 15:18 UTC (permalink / raw)
To: Giulio Benetti; +Cc: Romain Naour, Buildroot Mailing List
On Wed, 8 Sep 2021 23:29:07 +0200
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
> I can't understand the reason why Arc and C-Sky provide a special
> toolchain(i.e. synopsis gcc10) instead of treating them like external
> toolchains. Can you help me in understanding this?
You're confusing things here.
ARC and C-SKY support is (was for ARC) not in upstream
gcc/binutils/gdb, so we have (had) to use specific forks of these
projects, that have support for those CPU architectures.
This is completely independent from the ability to use external
toolchains for those CPU architectures.
An external toolchain is a pre-compiled toolchain. Here what we want is
support for ARC and C-SKY in our internal toolchain backend, where
Buildroot builds gcc/binutils/gdb/libc.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] Arc and C-Sky toolchains
2021-09-10 15:18 ` Thomas Petazzoni
@ 2021-09-10 19:43 ` Giulio Benetti
0 siblings, 0 replies; 4+ messages in thread
From: Giulio Benetti @ 2021-09-10 19:43 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Romain Naour, Buildroot Mailing List
Hello Thomas,
> Il giorno 10 set 2021, alle ore 17:18, Thomas Petazzoni <thomas.petazzoni@bootlin.com> ha scritto:
>
> On Wed, 8 Sep 2021 23:29:07 +0200
> Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
>
>> I can't understand the reason why Arc and C-Sky provide a special
>> toolchain(i.e. synopsis gcc10) instead of treating them like external
>> toolchains. Can you help me in understanding this?
>
> You're confusing things here.
>
> ARC and C-SKY support is (was for ARC) not in upstream
> gcc/binutils/gdb, so we have (had) to use specific forks of these
> projects, that have support for those CPU architectures.
Ah here is the reason, they were not upstreamed
>
> This is completely independent from the ability to use external
> toolchains for those CPU architectures.
>
> An external toolchain is a pre-compiled toolchain. Here what we want is
> support for ARC and C-SKY in our internal toolchain backend, where
> Buildroot builds gcc/binutils/gdb/libc.
All clear now. Thank you very much.
So next patches regarding ARC gcc10 make sense.
Best regards
Giulio Benetti
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-10 19:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-08 21:29 [Buildroot] Arc and C-Sky toolchains Giulio Benetti
2021-09-08 21:45 ` Giulio Benetti
2021-09-10 15:18 ` Thomas Petazzoni
2021-09-10 19:43 ` Giulio Benetti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox