Thread overview
D-Apt DMD
Dec 26, 2016
Russel Winder
Dec 26, 2016
Seb
Dec 27, 2016
rikki cattermole
Dec 27, 2016
Russel Winder
Dec 27, 2016
rikki cattermole
December 26, 2016
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.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 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

December 26, 2016
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
December 27, 2016
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

December 27, 2016
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
> 
-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 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

December 28, 2016
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).