Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-31 Thread Iain Buclaw via Digitalmars-d-announce
On 27 December 2016 at 03:52, Martin Nowak via Digitalmars-d-announce
 wrote:
> On Sunday, 25 December 2016 at 19:41:38 UTC, Johannes Pfau wrote:
>>
>> Happy holidays everybody,
>>
>> I'm happy to finally announce the release of new GDC binaries at
>> https://gdcproject.org/downloads.
>
>
> Congratulations!
>
>> massive internal changes in GDC in preparation for the DDMD frontend
>
>
> Sounded very exiting what I heard from Iain recently.
>


Indeed.  Next focus should be on completing this, and getting aligned
with the stable branch in upstream DMD.  I think the best way to allow
smooth transition would be to align up headers between the last C++
release and current stable, then make sure that the backend is able to
deal with both versions without any special treatment.

In my time offline, there's already been dozens of fixes I've pull in
to align the headers up.  This may end up in the next increasingly
wrong 2.068 release.  Or perhaps just give it the version 2.068.9¾.



Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-27 Thread Johannes Pfau via Digitalmars-d-announce

On Tuesday, 27 December 2016 at 02:52:40 UTC, Martin Nowak wrote:
On Sunday, 25 December 2016 at 19:41:38 UTC, Johannes Pfau 
wrote:


* Shared library support: We added support for shared 
libraries to GDC


Great, might be time to revive 
https://github.com/dlang/druntime/pull/617 soon.


Sounds like a good idea :-)


* New mechanism to link system dependencies: All system 
libraries

  needed by phobos (-ldl, -lrt, -latomic) are detected in the
  phobos ./configure script. The required dependencies are 
added to a
  libgphobos.spec file and installed along with the 
libgphobos.so/.a
  libraries. GDC then reads this file to detect the required 
libraries,

  so the libraries are no longer hard coded in GDC. Note for
  distribution packagers: You must make sure to manually 
install this

  file if you do not use the standard make install command.


Sounds interesting for dmd as well.


You could also use DMD.conf or some nice, custom file format. We 
have to use the .spec format in GCC/GDC which is quite limited.




Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-27 Thread Johannes Pfau via Digitalmars-d-announce

On Monday, 26 December 2016 at 16:43:51 UTC, brocolis wrote:
On Sunday, 25 December 2016 at 19:41:38 UTC, Johannes Pfau 
wrote:

Happy holidays everybody,

I'm happy to finally announce the release of new GDC binaries


Thank you for the hard work.
Any hope for the windows/mingw target?


I'll revive the mingw target at some point in time. But this 
requires changes in upstream druntime/phobos and as long as gdc 
and upstream are out of sync this requires some extra effort. So 
mingw support will have to wait till GDC is up to date again.


-- Johannes


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread Martin Nowak via Digitalmars-d-announce

On Sunday, 25 December 2016 at 19:41:38 UTC, Johannes Pfau wrote:

Happy holidays everybody,

I'm happy to finally announce the release of new GDC binaries 
at https://gdcproject.org/downloads.


Congratulations!

massive internal changes in GDC in preparation for the DDMD 
frontend


Sounded very exiting what I heard from Iain recently.

* Shared library support: We added support for shared libraries 
to GDC


Great, might be time to revive 
https://github.com/dlang/druntime/pull/617 soon.


* New mechanism to link system dependencies: All system 
libraries

  needed by phobos (-ldl, -lrt, -latomic) are detected in the
  phobos ./configure script. The required dependencies are 
added to a
  libgphobos.spec file and installed along with the 
libgphobos.so/.a
  libraries. GDC then reads this file to detect the required 
libraries,

  so the libraries are no longer hard coded in GDC. Note for
  distribution packagers: You must make sure to manually 
install this

  file if you do not use the standard make install command.


Sounds interesting for dmd as well.


Travis-CI should pick up the new release from now on.


Thanks for updating :)

It's actually all handled by the install.sh script, so you'll 
also get the latest gdc with `curl -fsS 
https://dlang.org/install.sh | bash -s gdc` and anything else 
using that script, e.g. Travis-CI and the Heroku buildpack.


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread Dicebot via Digitalmars-d-announce
After some tweaking and playing have finally uploaded Arch Linux
packages for GDC using 6.2.1 gcc base and
https://github.com/D-Programming-GDC/GDC/releases/tag/v2.068.2_gcc6

Now also includes new "libpghobos" package providing shared library only
(though I haven't tested this part).



signature.asc
Description: OpenPGP digital signature


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread brocolis via Digitalmars-d-announce

On Sunday, 25 December 2016 at 19:41:38 UTC, Johannes Pfau wrote:

Happy holidays everybody,

I'm happy to finally announce the release of new GDC binaries


Thank you for the hard work.
Any hope for the windows/mingw target?


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2016-12-26 at 14:42 +0100, Johannes Pfau via Digitalmars-d-
announce wrote:
> […]
> 
> I think this has been fixed by the debian maintainers.
> 
> -- Johannes

Splendid. I must have missed the change happening.

I can confirm it all does now work fine. Which is great.

Is the DMD distribution the only source of rdmd, or is there a LDC or
GDC version?


-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc
Description: This is a digitally signed message part


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread Johannes Pfau via Digitalmars-d-announce
Am Mon, 26 Dec 2016 16:26:55 +0200
schrieb Dicebot :

> On 12/25/2016 09:41 PM, Johannes Pfau wrote:
> > Happy holidays everybody,
> > 
> > I'm happy to finally announce the release of new GDC binaries at
> > https://gdcproject.org/downloads . GDC is the GNU D Compiler, a D
> > compiler using GCC as the compiler backend.  
> 
> A lot of great stuff! Got few questions when trying to update Arch
> Linux package though, could you please advice?
> 
> 1) There is `gdc_include_dir` variable now, what is intended way to
> override it to custom path? `gcc/configure
> gdc_include_dir=/usr/include/dlang/gdc` doesn't seem to work

IIRC it's not really meant to be customizable. You'll have to edit
libphobos/m4/druntime.m4. To regenerate the configure script you'll
then have to call ./setup-gcc.sh first, cd into the
gcc-x.y.z/libphobos directory and execute:

export AUTOCONF=/opt/autoconf/2.64/bin/autoconf
export ACLOCAL=/usr/bin/aclocal-1.11   
export AUTOM4TE=/opt/autoconf/2.64/bin/autom4te
export AUTOMAKE=/usr/bin/automake-1.11
/opt/autoconf/2.64/bin/autoreconf 


> 
> 2) As far as I can see phobos is now built as shared library by
> default. What flags affect it? I'd like to build either static one,
> or both at the same time if possible.
> 

The default configuration should build static and shared libraries. The
flags to enable/disable library types are
[--enable|--disable]-[shared|static]
 

-- Johannes



Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread Dicebot via Digitalmars-d-announce
On 12/25/2016 09:41 PM, Johannes Pfau wrote:
> Happy holidays everybody,
> 
> I'm happy to finally announce the release of new GDC binaries at
> https://gdcproject.org/downloads . GDC is the GNU D Compiler, a D
> compiler using GCC as the compiler backend.

A lot of great stuff! Got few questions when trying to update Arch Linux
package though, could you please advice?

1) There is `gdc_include_dir` variable now, what is intended way to
override it to custom path? `gcc/configure
gdc_include_dir=/usr/include/dlang/gdc` doesn't seem to work

2) As far as I can see phobos is now built as shared library by default.
What flags affect it? I'd like to build either static one, or both at
the same time if possible.




signature.asc
Description: OpenPGP digital signature


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread Johannes Pfau via Digitalmars-d-announce
Am Mon, 26 Dec 2016 12:24:18 +
schrieb Russel Winder via Digitalmars-d-announce
:

> Has the problem of the Debian Sid GDC packages and LDC packages having
> conflicting file installs been sorted so that it is possible to have
> both installed and usable at the same time?

I think this has been fixed by the debian maintainers.

-- Johannes



Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread Russel Winder via Digitalmars-d-announce
Has the problem of the Debian Sid GDC packages and LDC packages having
conflicting file installs been sorted so that it is possible to have
both installed and usable at the same time?

On Mon, 2016-12-26 at 10:51 +0100, Daniel Kozák via Digitalmars-d-
announce wrote:
> 
> Johannes Pfau via Digitalmars-d-announce 
>  napsal Ne, pro 25, 2016 v
> 8∶41 
> :
> > Happy holidays everybody,
> > 
> > I'm happy to finally announce the release of new GDC binaries at
> > https://gdcproject.org/downloads . GDC is the GNU D Compiler, a D
> > compiler using GCC as the compiler backend.
> > 
> > ...
> 
> Wow this is best xmas gift, thank you and all others who makes this 
> possible
-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

signature.asc
Description: This is a digitally signed message part


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-26 Thread Daniel Kozák via Digitalmars-d-announce



Johannes Pfau via Digitalmars-d-announce 
 napsal Ne, pro 25, 2016 v 8∶41 
:

Happy holidays everybody,

I'm happy to finally announce the release of new GDC binaries at
https://gdcproject.org/downloads . GDC is the GNU D Compiler, a D
compiler using GCC as the compiler backend.

...
Wow this is best xmas gift, thank you and all others who makes this 
possible


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-25 Thread ketmar via Digitalmars-d-announce

On Sunday, 25 December 2016 at 19:41:38 UTC, Johannes Pfau wrote:

Happy holidays everybody,


great work! long live gdc! ;-)


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-25 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 12/25/2016 02:41 PM, Johannes Pfau wrote:

Happy holidays everybody,

I'm happy to finally announce the release of new GDC binaries at
https://gdcproject.org/downloads . GDC is the GNU D Compiler, a D
compiler using GCC as the compiler backend.


Congratulations! We are very hopeful that all compiler will keep tightly 
together in 2017 and beyond, and it's clear you are taking good steps 
toward making that happen. -- Andrei


Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-25 Thread Johan Engelen via Digitalmars-d-announce

On Sunday, 25 December 2016 at 19:41:38 UTC, Johannes Pfau wrote:

Happy holidays everybody,

I'm happy to finally announce the release of new GDC binaries 
at https://gdcproject.org/downloads .


Gratz!

Hope you can add it to d.godbolt.org soon. ;)

-Johan