I'm not at all sure there's supposed to be a gcrtn.o file. It may be a bug in the egcs specs file. What happens if you compile with -profile rather than -pg? If gcrtn.o does exist it should be part of glibc and installed in /usr/lib along with crt1.o and so on. p.