From: calvesmit@ig.com.br
To: bley@cs.uni-magdeburg.de,gcc-help@gcc.gnu.org
Cc: calves@coelce.com.br
Subject: Re:Where is header Files
Date: Tue, 18 Nov 2003 04:06:00 -0000 [thread overview]
Message-ID: <20031118040600.HXtiqA-FS-y5pw9bPomyDQF4MoDoTjbIrFJ8NgyjoUc@z> (raw)
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/
next reply other threads:[~2003-11-18 4:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-18 4:06 calvesmit [this message]
2003-11-18 4:06 calvesmit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031118040600.HXtiqA-FS-y5pw9bPomyDQF4MoDoTjbIrFJ8NgyjoUc@z \
--to=calvesmit@ig.com.br \
--cc=bley@cs.uni-magdeburg.de \
--cc=calves@coelce.com.br \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).