"Andrej Mitrovic" <[email protected]> wrote in message news:[email protected]... > Just a quick question, why does the map file have a long name like so: > > file_test-d-40DA973DB4C6AD075993AB5CD9866DDE.map ?
Because you're using rdmd and not using -of. rdmd comes up with an executable filename by hashing the source file's content (I'm not 100% sure why, something about filename-uniqueness or caching and change-tracking, I'd imagine). And dmd always uses the executable filename as the name of the map file (which makes sense when you consider executables made from multiple modules). If you use -of, or if you just use dmd directly, then that hash value doesn't get added.
