gcc - missing headers and libraries
Posted on 2000-04-03
These ought to be easy for those familiar with gcc :)
if I try to compile:
test.cpp: stdio.h: File or directory not found.
Then I tried to exclude the dependency on the header file:
and gcc seems to compile but does not link:
/usr/bin/ld: cannot open crt1.o: File or directory not found
From / I search:
find -name crt1.o
find -name stdio.h
and the files are not found.
So, my questions are:
1) Which RPM contains the headers and libraries?
2) What would ba a "standard" place to put these?
3) What is the most straightforward way to inform gcc of their location, other than options or makefiles? Is there an environment variable I can set for each?