Re: gcc with Debian on amd64
On Dec 23 2004, Michael Madden wrote:
> #include <stdio.h>
>
> int main(void)
> {
> printf("Hello World!\n");
> return (0);
The parentheses here are superfluous. The return word in C is a command,
not a function.
> }
>
> madden@debian:~$ gcc -o hello hello.c
> hello.c:1:19: stdio.h: No such file or directory
You should have libc6-dev (or the equivalent in your architecture)
installed for the standard header files of the C Library.
Hope this helps, Rogério Brito.
--
Learn to quote e-mails decently at:
http://pub.tsn.dk/how-to-quote.php
http://learn.to/quote
http://www.xs4all.nl/~sbpoley/toppost.htm
Reply to: