Re: gcc with Debian on amd64
From: Rogério Brito (rbrito_at_ime.usp.br)
Date: 12/24/04
- Previous message: Johann Spies: "Re: VIM6.3 LINUX"
- In reply to: Michael Madden: "gcc with Debian on amd64"
- Next in thread: Nikita V. Youshchenko: "Re: gcc with Debian on amd64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Dec 2004 04:32:54 -0200 To: debian-user@lists.debian.org
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 -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Johann Spies: "Re: VIM6.3 LINUX"
- In reply to: Michael Madden: "gcc with Debian on amd64"
- Next in thread: Nikita V. Youshchenko: "Re: gcc with Debian on amd64"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|