Menu

#5 gdcwin's BUG

open
nobody
None
5
2015-01-28
2006-11-26
heromyth
No

I have downloaded gdcwin and installed it successfully. I have installed it in D:\mingw.

There is no any problem in compiling a D source file(for example, wc2.d) which exists in D:. When I copy it to E: and compile it again, an error message can be seen:

object.d: module object cannot read file 'object.d'

To compile it successfully, I must add these:

-ID:\MingW\include\d\3.4.5 -ID:\MingW\include\d\3.4.5\mingw32

to the gdc command line.

By the way, how can I successfully compile winsamp.d which is a sample file with DMD.

Discussion

  • Anders F Björklund

    Logged In: YES
    user_id=5895
    Originator: NO

    It has only been tested with C:\MinGW, and might not support D: or E: etc...
    (Actually the configuration done when compiling GDC is a "--prefix=/mingw")

     
  • Anders F Björklund

    Logged In: YES
    user_id=5895
    Originator: NO

    David posted instructions to D.gnu on how to get around this,
    so it should be fixed in GDC 0.20 and later releases (gdcwin).

     
  • David Friedman

    David Friedman - 2007-07-13

    Logged In: YES
    user_id=1378044
    Originator: NO

    Can you confirm if this is fixed in the most recent release?

     

Log in to post a comment.

Monday.com Logo