dmd, x64 and Windows

Robert Clipsham robert at octarineparrot.com
Wed Feb 23 13:53:54 PST 2011


On 23/02/11 21:40, Andrej Mitrovic wrote:
> Right, installing gdc fixed the missing cc1d issue. But now I have other issues:
>
> andrej at andrej-VirtualBox:~/Desktop/test$ i586-mingw32msvc-gdc test.d
> object.d: Error: module object is in file 'object.d' which cannot be read
> import path[0] =
> /opt/Mingw32/usr/bin/../lib/gcc/i586-mingw32msvc/4.5.2/../../../../include/d2/4.5.2/i586-mingw32msvc
> import path[1] =
> /opt/Mingw32/usr/bin/../lib/gcc/i586-mingw32msvc/4.5.2/../../../../include/d2/4.5.2
> andrej at andrej-VirtualBox:~/Desktop/test$
>
> The opt/Mingw32/user/include folder is empty.
>
> I've used this to install: make DESTDIR="/opt/Mingw32" install

Try:

gdc -I/opt/Mingw32/usr/local/include/d/4.5.2 test.d

Alternatively:

find /opt/Mingw32 -name object.d

Will give a list of object.d files in your install, try that with the -I 
instead (I think gdc accepts -I, if not, try gdmd which will convert dmd 
flags to gdc flags automatically... I can't remember if there's a gdc 
specific flag or not).

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d mailing list