Installing DMD on linux

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Sun Jul 8 07:38:39 PDT 2007


torhu wrote:
> I've put libphobos.a in /usr/lib/.
> 
> I've installed everything else in ~/dmd, and added it to PATH.
> 
> when trying to compile something, I get this:
> 
> user at ubuntu:~$ dmd test.d
> gcc test.o -o test -m32 -Xlinker -L/home/user/dmd/bin/../lib -lphobos 
> -lpthread -lm
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> --- errorlevel 1

That file is part of the C runtime library, IIRC. Can you successfully 
compile & link C programs with gcc?


More information about the Digitalmars-d-learn mailing list