Compiling DMD for *nix platforms

Anders Bergh anders1 at gmail.com
Wed May 7 00:07:42 PDT 2008


On Wed, May 7, 2008 at 8:58 AM, Leo Singer <aronnax at umd.edu> wrote:
> I followed the instructions in the INSTALL file on the repository, downloading the newest 4.1 release of
>  GCC, which happened to be 4.1.2.  I ran the setup script, and then ran gcc's configure script, then ran
>  make.  The following link command causes make to fail:
>
> [snip]
>  Undefined symbols:
>   "AggregateDeclaration::buildDtor(Scope*)", referenced from:
>       ClassDeclaration::semantic(Scope*)      in class.dmd.o
>  ld: symbol(s) not found
>  collect2: ld returned 1 exit status
>  make[2]: *** [cc1d] Error 1
>  make[1]: *** [all-gcc] Error 2
>  make: *** [all] Error 2
>
>  Any ideas?
>
>  I compiling on Mac OS X 10.5.2.
>
>

Not really, but, you should try fetching the Apple-modified gcc from
http://developer.apple.com/opensource (I think that's the right URL).
Anyway, Anders F Bjorklund knows way more about this stuff than me
(apple stuff).

Anders



More information about the Digitalmars-d mailing list