Bug#639962: linking fails with clang

2011-09-01 Thread Sylvestre Ledru
Le jeudi 01 septembre 2011 à 13:11 +0900, Miles Bader a écrit : $ clang -o hw ~/src/hw.c /usr/bin/ld: error: cannot open crtbegin.o: No such file or directory /usr/bin/ld: error: cannot open crtend.o: No such file or directory /usr/bin/ld: error: cannot find -lgcc /usr/bin/ld:

Bug#639962: linking fails with clang

2011-08-31 Thread Miles Bader
Package: clang Version: 2.9-9 Severity: normal Even a trivial program fails to link when compiled with clang: $ clang -o hw ~/src/hw.c /usr/bin/ld: error: cannot open crtbegin.o: No such file or directory /usr/bin/ld: error: cannot open crtend.o: No such file or directory