public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re:Where is header Files
@ 2003-11-18  4:06 calvesmit
  0 siblings, 0 replies; 2+ messages in thread
From: calvesmit @ 2003-11-18  4:06 UTC (permalink / raw)
  To: bley, gcc-help; +Cc: calves

yes, I see it's is a very, very strange thing! 

How did I do that?! Well, I just got this distribution from 03 CD's 
that came with the PCMaster magazine (a brazilian magazine) about 03 months 
ago. 
I just boot from CD 01 and followed installation steps. After some clicks; 
choosing keyboard, 
mouse, video etc, I got linux running in front of me.That's all I did, 
nothing more!!! 

After that, when I tried gcc to compile the simple "hello, world!" program, 
I got a 
series of errors messages saying, basically, I have no stdio.h, features.h 
etc. with 
definitions such printf..... 

As I said before, I can't found such headers files using mc in stdandard 
place as /usr/include and nowhere. mc just found a half dozen of header 
files (*.h) in other nonstandard places, but none of them was stdio.h, 
features.h and other essential headers files. 

I also tried 

apt-get install glibc 

using suchs CD's and system says I already have last glibc version 
installed! 

So gcc was installed among the system without (apparently) stdio.h, 
features.h etc be installed 
in /usr/include, /usr/lib or other standard places. 

I DID NOT DO ANYTHING ELSE BESIDE JUST INSTALL THE SYSTEM. 

This is really amazing, since Linux always come with a last version of gcc 
fully functional. 
I hope anyone can help me after this explanation! 

One more thing: 
besides http://rpmfind.net , where else can I get rpm's of gcc to 
Conectiva?! 

Thanks to everyone, 

> -----Mensagem original----- 
> De: Claudio Bley [ mailto:bley@cs.uni-magdeburg.de ] 
> Enviada em: segunda-feira, 17 de novembro de 2003 12:01 
> Para: calvesmit@ig.com.br 
> Cc: gcc-help@gcc.gnu.org; calves@coelce.com.br 
> Assunto: Re: Where is header Files 
> 
> On Sun, Nov 16, 2003 at 08:42:58PM -0200, calvesmit@ig.com.br wrote: 
> > I just installed Conectiva 9.0, a brazilian distribution of linux, and 
can't 
> > compile the simple "Hello, World!" program using gcc. 
> > The reason: It seems the system came without standard header files (very 
> > strange, I know :(, but it's right so!). 
> > I tried to find such files using mc and got no success (I did look for 
in 
> > hole directory tree). 
> > So my question: Where can I get and how can I install the standard 
header 
> > files?! 
> 
> If I remember correctly Conectiva is a RPM based system and you should 
just 
> install the appropriate glibc-devel RPM from one of your install 
> CDs. Of course, you can also have a look at http://rpmfind.net and 
> search for such a RPM for your distribution/system. 
> 
> But, the really strange thing is that it seems you've installed GCC 
> without having the C headers installed. How did you do that? This 
> should be virtually impossible when using a package management system. 
> 
> -- 
> Claudio Bley ASCII ribbon campaign (") 
> Debian GNU/Linux user - against HTML email X 
> http://www.cs.uni-magdeburg.de/~bley/ vCards / \ 
> 
>---------- 

_________________________________________________________
Voce quer um iGMail protegido contra vírus e spams? 
Clique aqui: http://www.igmailseguro.ig.com.br
Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re:Where is header Files
@ 2003-11-18  4:06 calvesmit
  0 siblings, 0 replies; 2+ messages in thread
From: calvesmit @ 2003-11-18  4:06 UTC (permalink / raw)
  To: bley, gcc-help; +Cc: calves

yes, I see it's is a very, very strange thing! 

How did I do that?! Well, I just got this distribution from 03 CD's 
that came with the PCMaster magazine (a brazilian magazine) about 03 months 
ago. 
I just boot from CD 01 and followed installation steps. After some clicks; 
choosing keyboard, 
mouse, video etc, I got linux running in front of me.That's all I did, 
nothing more!!! 

After that, when I tried gcc to compile the simple "hello, world!" program, 
I got a 
series of errors messages saying, basically, I have no stdio.h, features.h 
etc. with 
definitions such printf..... 

As I said before, I can't found such headers files using mc in stdandard 
place as /usr/include and nowhere. mc just found a half dozen of header 
files (*.h) in other nonstandard places, but none of them was stdio.h, 
features.h and other essential headers files. 

I also tried 

apt-get install glibc 

using suchs CD's and system says I already have last glibc version 
installed! 

So gcc was installed among the system without (apparently) stdio.h, 
features.h etc be installed 
in /usr/include, /usr/lib or other standard places. 

I DID NOT DO ANYTHING ELSE BESIDE JUST INSTALL THE SYSTEM. 

This is really amazing, since Linux always come with a last version of gcc 
fully functional. 
I hope anyone can help me after this explanation! 

One more thing: 
besides http://rpmfind.net , where else can I get rpm's of gcc to 
Conectiva?! 

Thanks to everyone, 

> -----Mensagem original----- 
> De: Claudio Bley [ mailto:bley@cs.uni-magdeburg.de ] 
> Enviada em: segunda-feira, 17 de novembro de 2003 12:01 
> Para: calvesmit@ig.com.br 
> Cc: gcc-help@gcc.gnu.org; calves@coelce.com.br 
> Assunto: Re: Where is header Files 
> 
> On Sun, Nov 16, 2003 at 08:42:58PM -0200, calvesmit@ig.com.br wrote: 
> > I just installed Conectiva 9.0, a brazilian distribution of linux, and 
can't 
> > compile the simple "Hello, World!" program using gcc. 
> > The reason: It seems the system came without standard header files (very 
> > strange, I know :(, but it's right so!). 
> > I tried to find such files using mc and got no success (I did look for 
in 
> > hole directory tree). 
> > So my question: Where can I get and how can I install the standard 
header 
> > files?! 
> 
> If I remember correctly Conectiva is a RPM based system and you should 
just 
> install the appropriate glibc-devel RPM from one of your install 
> CDs. Of course, you can also have a look at http://rpmfind.net and 
> search for such a RPM for your distribution/system. 
> 
> But, the really strange thing is that it seems you've installed GCC 
> without having the C headers installed. How did you do that? This 
> should be virtually impossible when using a package management system. 
> 
> -- 
> Claudio Bley ASCII ribbon campaign (") 
> Debian GNU/Linux user - against HTML email X 
> http://www.cs.uni-magdeburg.de/~bley/ vCards / \ 
> 
>---------- 

_________________________________________________________
Voce quer um iGMail protegido contra vírus e spams? 
Clique aqui: http://www.igmailseguro.ig.com.br
Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-18  4:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-18  4:06 Re:Where is header Files calvesmit
2003-11-18  4:06 calvesmit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).