I try to compile a kde application on a redhat 6.1 sparc distrib (target platform = Sun ULTRA 5) and I got the following message: [lemonni4@ors40428 /tmp/knewmail-3.1]$ ./configure creating cache ./config.cache checking for a C-Compiler... checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. So, I create a little test "hello world" program (tst.c) to check egcs and here is the result : [lemonni4@ors40428 /tmp]$ gcc tst.c -o tst /usr/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status It's impossible to find a such file in /usr/lib/gcc-lib. I've installed the following packages : compat-egcs-5.2-1.0.3a.1 compat-egcs-c++-5.2-1.0.3a.1 compat-egcs-g77-5.2-1.0.3a.1 compat-egcs-objc-5.2-1.0.3a.1 egcs-1.1.2-24 egcs-c++-1.1.2-24 egcs-g77-1.1.2-24 egcs-objc-1.1.2-24 egcs64-19980921-4 Furthermore, if in my "tst.c" program I include "#include <stdio.h>", gcc display : [lemonni4@ors40428 /tmp]$ gcc tst.c -o tst tst.c:1: stdio.h: No such file or directory There is no stdio.h in /usr/include or in one of his subdirectory. some ideas ? Thanks.
crt1.o and stdio.h are both in the glibc-devel package (it isn't a dependency, however, since it is possible to use gcc without them, with options like -nostdlib).