While using gcc on a newly installed system you may get:
/usr/bin/ld: crt1.o: No such file: No such file or directory
This is a common problem, but with a simple solution.
apt-get install libc6-dev
$ locate crt1.o
$ rpm -qf /usr/lib/crt1.o
Then install the package glibc-devel-X.X.X-XX using yum, rpm, etc