On Saturday, 19 January 2013 at 13:12:47 UTC, deed wrote:
Missing -m64 or something?
Probably. I am on Windows using dmd 2.061 and optlink 8.00.12
dmd main.d -m64
Con't run 'bin\amd64\link.exe', check PATH
Setting LINKCMD64 to the same path as for LINKCMD in sc.ini:
dmd main.d -m64
OPTLINK : Warning 9: Unknown Option : MERGE
OPTLINK : Error 8: Illegal Filename
/NOLOGO prog /MERGE:.minfobg=.minfodt
/MERGE:.minfoen=.minfodt /MERGE:._deh_bg=._deh_eh
/MERGE:._deh_en=._deh_eh
--- errorlevel 1
Do I need another linker?
Ach, Windows.
Yeah, you need VS Linker when compiling for 64bits on Windows.
Can't help you more with this. I think there is somewhere
step-by-step guide for 64bits+windows. (wiki.dlang.org maybe? not
sure)