mbox series

[0/2] Add support for the D programming language

Message ID 20190929165601.20269-1-eric.le.bihan.dev@free.fr
Headers show
Series Add support for the D programming language | expand

Message

Eric Le Bihan Sept. 29, 2019, 4:55 p.m. UTC
This small series add supports for the D programming language, available in
GCC since version 9.1.

Eric Le Bihan (2):
  toolchain: add support for D language
  package/gcc: add support for D language

 package/gcc/Config.in.host         | 10 ++++++++++
 package/gcc/gcc-final/gcc-final.mk |  5 +++++
 toolchain/Config.in                |  3 +++
 3 files changed, 18 insertions(+)

--
2.21.0

Comments

Thomas Petazzoni Sept. 30, 2019, 9:03 p.m. UTC | #1
Hello Eric,

On Sun, 29 Sep 2019 18:55:59 +0200
Eric Le Bihan <eric.le.bihan.dev@free.fr> wrote:

> This small series add supports for the D programming language, available in
> GCC since version 9.1.
> 
> Eric Le Bihan (2):
>   toolchain: add support for D language
>   package/gcc: add support for D language

Could you also add support for supporting an external toolchain that provides the D language ? It's mainly a matter of:

 - tweaking the external toolchain code to copy the right libraries

 - adding a blind Config.in option to indicate that the external
   toolchain provides D language support

 - adding a visible Config.in options in the custom external toolchain
   package to ask the user if the toolchain provides D language support

 - a check to verify that if the user has declared the toolchain as
   supporting the D language, it is really supported

Thanks,

Thomas
Eric Le Bihan Oct. 1, 2019, 6:03 a.m. UTC | #2
On 2019-09-30 23:03, Thomas Petazzoni wrote:
> Hello Eric,
>
> On Sun, 29 Sep 2019 18:55:59 +0200
> Eric Le Bihan <eric.le.bihan.dev@free.fr> wrote:
>
> > This small series add supports for the D programming language, available in
> > GCC since version 9.1.
> >
> > Eric Le Bihan (2):
> >   toolchain: add support for D language
> >   package/gcc: add support for D language
>
> Could you also add support for supporting an external toolchain that provides the D language ? It's mainly a matter of:
>
>  - tweaking the external toolchain code to copy the right libraries
>
>  - adding a blind Config.in option to indicate that the external
>    toolchain provides D language support
>
>  - adding a visible Config.in options in the custom external toolchain
>    package to ask the user if the toolchain provides D language support
>
>  - a check to verify that if the user has declared the toolchain as
>    supporting the D language, it is really supported

Given that traditional external toolchain providers do not ship
D-capable toolchains yet, I'll try using a toolchain generated with
crosstool-ng.

Regards,

--
ELB
Thomas Petazzoni Oct. 1, 2019, 6:56 a.m. UTC | #3
On Tue, 1 Oct 2019 08:03:22 +0200
Eric Le Bihan <eric.le.bihan.dev@free.fr> wrote:

> Given that traditional external toolchain providers do not ship
> D-capable toolchains yet, I'll try using a toolchain generated with
> crosstool-ng.

Well, you can also generate a toolchain with Buildroot, and then import
it as an external toolchain in Buildroot.

Thomas