Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 7 and Version 8 of UnixInstallGdcComments

Show
Ignore:
Author:
Electrum (IP: 24.27.135.150)
Timestamp:
12/01/07 10:23:31 (6 years ago)
Comment:

added headers and note about gdc bug

Legend:

Unmodified
Added
Removed
Modified
  • UnixInstallGdcComments

    v7 v8  
     1== Mac OS X == 
     2 
    13Still in the same section, a note should telll Mac OS X users to use Apple's gcc source at http://www.opensource.apple.com/darwinsource/tarballs/other/gcc-5363.tar.gz. Otherwise the compiled gdc crashes. 
    24 
    1012 
    1113I don't like the change that recommends not to use install-gdc.sh. I happen to use it on Mac OS X, and it works just fine. Besides, the method described here doesn't backup GPhobos, while install-gdc.sh takes care of that. This point is especially important when upgrading GDC from source: it's necessary to uninstall Tango, install GDC, and then re-install Tango. If someone has experienced problems with install-gdc.sh, it would be better to report those problems as tickets, and even submit patches for it. 
     14 
     15== gdc 0.24 bug == 
     16 
     17Tango fails to build with gdc 0.24 due to a bug in gdmd (the wrapper script that emulates dmd) -- it does not build the header (.di) files.  You can fix gdmd by setting "$header = 1" for the -Hf argument (approx line 190): 
     18{{{ 
     19    } elsif ( $arg =~ m/^-Hf(.*)$/ ) { 
     20        $header = 1; 
     21        $header_file = $1; 
     22    } elseif ... 
     23}}}