- grep for the object file, -Xlinker isn't always present
- So that using a different DMD will use the correct include/link paths defined by the corresponding dmd.conf.
- The flag isn't needed here. It's also not supported on FreeBSD and OSX.
Move rdmd.1 to a man directory to ease packaging
rdmd: Add --dependfile option
Fix Issue 12205: update posix.mak to use local, recently-built druntime and phobos
The idea behind this option is to provide something similar to GCC's -MF option, which generate a dependency file at the same time it compiles the program. This is very useful to keep a Makefile with the dependencies always updated: -include .deps.mak prog: rdmd --build-only --makedepfile=.deps.mak prog.d On the first build .deps.mak will be created and afterwards, the only way the dependencies could change is if prog.d or any of its dependencies change, in which case a build will be triggered and the new dependencies file will be generated.
…me and phobos. This fixes https://d.puremagic.com/issues/show_bug.cgi?id=12205 by adding library/include paths to the locations where druntime and phobos have been built, plus a flag to prevent/suppress alignment errors in one of the builds. In the event that the user wishes to build using the system dmd instead of the locally-built ../dmd/src/dmd, this is trivial to achieve by overriding with DMD=dmd. DFLAGS will also then be overridden with those from the system dmd.conf.
Add test-case for Issue 12149 - RDMD -of switch doesn't append .exe to an executable on Windows.
…o an executable on Windows.
Fix #12149: ".exe" not auto-added with -of on windows.
rdmd: Fix `--dry-run`, add test for issue 11983
rdmd: Use execv on supported systems
rdmd: Clean up the temporary executable file if the build fails
OPTLINK may leave behind a broken executable, although the build failed. Depending on user options, this .tmp file may reside outside the rdmd work directory, so clean it up if it is created.
rdmd: Add etc to list of ignored packages
This fixes "The module 'etc.c.curl' is already defined in (program)".
rdmd: Clean up the right executable file if the build fails
The old code attempted to delete the final executable if the build failed, disregarding potential failure due to it being in use. Now we safely ensure that the final executable doesn't exist before we even start building.
Add --nocache option to force a bugzilla query.
Commits: * 1f0a0cd dustmite: Fix deprecated use of canFind * 1035b15 dustmite: Improve progress indicator accuracy * 556a9ab dsplit: Avoid stack overflow with very long lists * 6b8f49c Avoid std.string.startsWith, which does pointless UTF-8 decoding * 8eb5282 dsplit: Don't parse DDoc files as D source * 403ef2f dsplit: Fix possible range violations in skipSymbol