[Issue 22380] New: Documentation for installation of DMD on FreeBSD is inaccurate
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 11 16:37:59 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22380
Issue ID: 22380
Summary: Documentation for installation of DMD on FreeBSD is
inaccurate
Product: D
Version: D2
Hardware: x86_64
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: donaldcallen1942 at icloud.com
The documentation for installation of DMD on FreeBSD on the page
https://dlang.org/dmd-freebsd.html is inaccurate in multiple ways.
1. Put dmd2/freebsd/bin on your PATH. There is no freebsd/bin directory:
dca at giovanni:/home/dca/Software/dmd2/freebsd$ ls
bin32 bin64 lib64
In my case, the bin64 directory needs to be in PATH.
2. The page also instruct you to
Copy the standard library and runtime sources to /usr/include/d/dmd:
sudo mkdir -p /usr/include/d/dmd
sudo cp dmd2/{phobos/std,phobos/etc,druntime/import} /usr/include/d/dmd
Those directories are in dmd2/src, not dmd2. Also the cp command requires the
-r option, since directories are being copied. The correct command is
sudo cp -r dmd2/src/{phobos/std,phobos/etc,druntime/import} /usr/include/d/dmd
--
More information about the Digitalmars-d-bugs
mailing list