Re: gcc with Debian on amd64

2004-12-24 Thread Michael Madden
David Purton wrote: Usually development headers and import libraries are not installed by default. You want libc6-dev. dc Thanks for all the help. libc6-dev wasn't installed. I've used potato, woody, and sarge forever, and I never had to install libc6-dev by hand. I guess it is part of the base i

Re: gcc with Debian on amd64

2004-12-24 Thread Nikita V. Youshchenko
> [EMAIL PROTECTED]:~$ gcc -o hello hello.c > hello.c:1:19: stdio.h: No such file or directory If one package (namely: gcc-3.3) recommends another package (namely: libc6-dev), you probably should install second together with the first unless you have seriuos reasons not to do so :). If you are

Re: gcc with Debian on amd64

2004-12-23 Thread Rogério Brito
On Dec 23 2004, Michael Madden wrote: > #include > > 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. > } > > [EMAIL PROTECTED]:~$ gcc -o hello hello.c > hello.c:1:19: stdio.h: No such

Re: gcc with Debian on amd64

2004-12-23 Thread Sam Watkins
On Thu, Dec 23, 2004 at 09:22:33PM -0600, Michael Madden wrote: > [EMAIL PROTECTED]:~$ gcc -o hello hello.c > hello.c:1:19: stdio.h: No such file or directory install "build-essential", and "devscripts" if you want to be able to build debian packages. -- To UNSUBSCRIBE, email to [EMAIL PROTEC

Re: gcc with Debian on amd64

2004-12-23 Thread David Purton
On Thu, Dec 23, 2004 at 09:22:33PM -0600, Michael Madden wrote: > I just installed the latest amd64 netboot on my Sun > SunFire V20z, and I tried to compile a simple C program: > > #include > > int main(void) > { > printf("Hello World!\n"); > return (0); > } > > [EMAIL PROTECTED]:~$ gcc