Monday, August 4, 2008

setting up GCC for C

after finish installing ubuntu, i've try to compile some of my code. but below error appear...wuhhh !!???

tty0008@access-denied:~/programming$ gcc bind.c -o bind
satu.c:4:18: error: stdio.h: No such file or directory

huh?..it seem there no header file!!!

ok let;s try installing "build essential" package.

tty0008@access-denied:~/programming$ sudo apt-get install build-essential

then, let's try to complie it again...

tty0008@access-denied:~/programming$ gcc bind.c -o bind
tty0008@access-denied:~/programming$ ./bind
this is just simple programming dude!!.....


wah... work well already..huh

No comments: