[Wylug-help] Compiler trouble

Jim Jackson jj at franjam.org.uk
Sat May 22 17:42:23 UTC 2010


Try renaming the file to hello.c     <- lowercase 'c'

On Sun, 16 May 2010, Stephen Patterson wrote:

> I've got a system running Debian Sid, fully updated & build-essential 
> installed, and for some reason I can't compile even the simplest of C 
> programs - hello world.
>
> I've attached a logfile of the errors from compiling this code, and I've 
> found out that /usr/include/sys is an empty directory.
>
> #include <stdio.h>
>
> main()
> {
>    for(;;)
>            {
>                        printf ("Hello World!\n");
>                              }
> }
>
> gcc hello.C
>
> any ideas?
>
> -- 
> Stephen Patterson
> steve at patter.me.uk :: http://patter.me.uk/
> http://uk.linkedin.com/pub/stephen-patterson/1b/533/544
> GPG: B416F0DE :: Jabber: patter at jabber.org
>
>



More information about the Wylug-help mailing list