www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Strange observation when using rdmd

When I do:

rdmd --build-only -w dir/main.d

It compiles fine under Debian 32b and Debian 64b however:

in 32b the executable is created as: ./main
in 64b the executable is created as: ./dir/main

Is this expected, and if so why the difference based on 
architecture ?

Danny Arends
http://www.dannyarends.nl/
Nov 19 2012