[Issue 14572] cannot build dmd from source anymore: 'g++ -m64: No such file or directory'
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri May 15 19:45:55 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14572
Timothee Cour <timothee.cour2 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |timothee.cour2 at gmail.com
--- Comment #3 from Timothee Cour <timothee.cour2 at gmail.com> ---
it happens when user has
export CC=clang
in his ~/.zshrc / ~/.bashrc for example, and then calls the makefile.
Note that the makefile sets CC to g++ (a hack to allow the .c files to be
treated as .cpp files); which I think is problematic. a better way would be to
call
$(CXX) -x c++ some_badly_named_cpp_file.c
--
More information about the Digitalmars-d-bugs
mailing list