Installed with sudo apt-get install gdc in Ubuntu 18.04 - Can't compile a simple program.
Stefanos Baziotis
sdi1600105 at di.uoa.gr
Tue Aug 6 17:10:42 UTC 2019
On Tuesday, 6 August 2019 at 16:38:56 UTC, Johannes Pfau wrote:
>
> gdc includes everything in /usr/include/d automatically. The
> assumption is that distributions will only install global D
> files there which are compiler-independent, just like in
> /usr/include.
>
> Unfortunately dmd and/or ldc still seem to install their
> druntime/phobos D files there, so you likely need to remove
> these files from /usr/include/ d (the best way is to use the
> uninstall procedure matching the way you installed it).
The problem is that the way I installed them is by building
LDC with ninja. And I don't know how this can be reverted. I've
searched online,
but apparently if something is installed without a package
manager, then "Good Luck". :P
More information about the D.gnu
mailing list