* Kyle Hargraves ([EMAIL PROTECTED]) wrote:
>
> Secondly, I've installed egcs and egcs-c++ in the hope of obtaining a cc
> or CC compiler. rpm -qlp does not identify a stdio.h file and hence
> the following simple program fails to comple :
>
> [kyle@nelson play]$ cat hello.c
> #include <stdio.h>
>
> main ()
> {
> printf ("\n\n\n\n Hi There \n\n\n\n");
> }
>
> The compat-egcs (pp335-6) of the RH Reference Guide doesn't seem to posess
> the stdio.h file either
>
> Am I missing something VERY obvious in the installation of a C / C++
> compiler
Yeah, you need to install glibc, and glibc-devel. This is the standard
C library with provides the header files you need. The compiler is
independant of the standard library, and therefore a separate package.
Tom.
--
.-------------------------------------------------------.
.^. | Tom Gilbert, England | [EMAIL PROTECTED] |
/V\ |----------------------| www.tomgilbert.freeserve.co.uk |
// \\ | Sites I recommend: `--------------------------------|
/( )\ | www.freshmeat.net www.enlightenment.org slashdot.org |
^^-^^ `-------------------------------------------------------'
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.