EvilZone
Programming and Scripting => C - C++ => : gh0st September 10, 2011, 08:35:28 AM
-
well I do
gh0st@ubuntu:~$ $ gcc -o demo demo.c -pg
$: order not found
(http://i56.tinypic.com/v81qu9.png)
Im new on ubuntu I need some help here Im getting started onto ASM language to start my way to the 0 day exploit world 8)
-
My guess is the $ at the start of bash command, btw... WTF are you running?
gh0st@ubuntu:~$ $ gcc -o demo demo.c -pg
to
gh0st@ubuntu:~$ gcc -o demo demo.c -pg
-
anywayz I will install a debuger as kdbg I suppose cause compiling programs in that way are not hard but are a bit confusing
-
C + linux = gdb
-
look I do now to install kdbg
gh0st@ubuntu:~$ sudo apt-get install kdbg
[sudo] password for gh0st:
reading lists of packets... done
creating trees of dependencies
reading the information of the states... done
E: the packet cannot be located
now whats wrong ?
-
try: sudo apt-get update
also a debugger is not your problem, you need to learn C before you even understand a debuggers output.
-
Install Codeblocks its more user firendly,i think you can find it in Ubuntu repository