Re: meson and d

2019-06-10 Thread Andre Pany via Digitalmars-d-learn

On Monday, 10 June 2019 at 16:51:15 UTC, dkd wrote:

hi,

In theory though you can point it at any D compiler by setting 
the "DC" environment variable.


i found at early morning, that by setting variable at system 
level(through my computer->environment setting) meson can 
detect d.


it is the old usual way of setting variable that i almost 
forgot.


i'll try the DC variable

thanks.

# i use mason because i am stuck with dub, i got lost in 
documentation.


# reggae that i build from source, it works but at the end it 
throws exception.


Where are you stuck within dub documentation? What do you want to 
achieve?


Kind regards
Andre


Re: meson and d

2019-06-10 Thread dkd via Digitalmars-d-learn

hi,

In theory though you can point it at any D compiler by setting 
the "DC" environment variable.


i found at early morning, that by setting variable at system 
level(through my computer->environment setting) meson can detect 
d.


it is the old usual way of setting variable that i almost forgot.

i'll try the DC variable

thanks.

# i use mason because i am stuck with dub, i got lost in 
documentation.


# reggae that i build from source, it works but at the end it 
throws exception.


Re: meson and d

2019-06-10 Thread Matthias Klumpp via Digitalmars-d-learn

On Sunday, 9 June 2019 at 13:13:28 UTC, dkd wrote:

hi, i need some meson configuration that works with dmd and ldc

my setting don't work. because meson complains it cannot find 
the d compiler.


d compiler can be invoked on command line.

i use :
set dmd_path="path/to/d/base"
set PATH=%dmd_path%\bin;%PATH%;

mingw can be detected by setting GCC_HOME

i use win7 and x86
meson 0.50.1


Are you using Windows? Meson's D support has never been tested 
there.
In theory though you can point it at any D compiler by setting 
the "DC" environment variable.


meson and d

2019-06-09 Thread dkd via Digitalmars-d-learn

hi, i need some meson configuration that works with dmd and ldc

my setting don't work. because meson complains it cannot find the 
d compiler.


d compiler can be invoked on command line.

i use :
set dmd_path="path/to/d/base"
set PATH=%dmd_path%\bin;%PATH%;

mingw can be detected by setting GCC_HOME

i use win7 and x86
meson 0.50.1