www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D-Apt DMD

reply Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
I find the DMD from D-Apt is still broken wrt -fPIC and the ability to
compile any D code.=20

Not a problem per se since LDC and GDC work fine. However I do miss
rdmd.

--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.n=
et
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Dec 26 2016
next sibling parent Seb <seb wilzba.ch> writes:
On Monday, 26 December 2016 at 17:05:13 UTC, Russel Winder wrote:
 I find the DMD from D-Apt is still broken wrt -fPIC and the 
 ability to compile any D code.

 Not a problem per se since LDC and GDC work fine. However I do 
 miss rdmd.
1) You can use rdmd with any compiler - use `--compiler` 2) It was fixed two days ago by our awesome tsar Martin - use the nightlies, e. g. curl -fsS https://dlang.org/install.sh | bash -s dmd-nightly
Dec 26 2016
prev sibling parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 27/12/2016 6:05 AM, Russel Winder via Digitalmars-d wrote:
 I find the DMD from D-Apt is still broken wrt -fPIC and the ability to
 compile any D code.

 Not a problem per se since LDC and GDC work fine. However I do miss
 rdmd.
For future reference, source here[0]. Easy enough to compile + add to PATH if really necessary. [0] https://github.com/dlang/tools/blob/master/rdmd.d
Dec 26 2016
parent reply Russel Winder via Digitalmars-d <digitalmars-d puremagic.com> writes:
Sounds like rdmd should be a separate Debian and Fedora package. Since
it is unencumbered by non-FOSS licencing it can get in with association
to the ldc and gdc packages.


On Tue, 2016-12-27 at 14:57 +1300, rikki cattermole via Digitalmars-d
wrote:
 On 27/12/2016 6:05 AM, Russel Winder via Digitalmars-d wrote:
 I find the DMD from D-Apt is still broken wrt -fPIC and the ability
 to
 compile any D code.
=20
 Not a problem per se since LDC and GDC work fine. However I do miss
 rdmd.
=20 For future reference, source here[0]. Easy enough to compile + add to=C2=A0 PATH if really necessary. =20 [0] https://github.com/dlang/tools/blob/master/rdmd.d =20
--=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Dec 27 2016
parent rikki cattermole <rikki cattermole.co.nz> writes:
On 28/12/2016 1:23 AM, Russel Winder via Digitalmars-d wrote:
 Sounds like rdmd should be a separate Debian and Fedora package. Since
 it is unencumbered by non-FOSS licencing it can get in with association
 to the ldc and gdc packages.


 On Tue, 2016-12-27 at 14:57 +1300, rikki cattermole via Digitalmars-d
 wrote:
 On 27/12/2016 6:05 AM, Russel Winder via Digitalmars-d wrote:
 I find the DMD from D-Apt is still broken wrt -fPIC and the ability
 to
 compile any D code.

 Not a problem per se since LDC and GDC work fine. However I do miss
 rdmd.
For future reference, source here[0]. Easy enough to compile + add to PATH if really necessary. [0] https://github.com/dlang/tools/blob/master/rdmd.d
You will still need a D compiler, but yeah good idea (there is a bunch of other programs in there as well such as ddmangle which would make sense too).
Dec 27 2016