I dont think you want to compile just "anything"...heh
thats no fun :P
check out rpms, they're great for people who dont know what they're doing to atleast get started...
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
To compile hello.c will require a simple:
gcc -o hello hello.c
Filenames can only be one word, unless you do something like gcc -o 'hello world' hello.c
Which is bad in general, avoid spaces in filenames.
Anything you download and want to compile will often come with a Makefile or a configure script. For example, say you want to compile MyProgram 1.0 - it would generally be something like
tar xzf myprogram-1.0.targz
cd myprogram-1.0
./configure
make
make install
You might want to read through some Linux HOWTOs or maybe even grab a nice book on Linux. Compiling stuff is the easy part, it gets harder from there on in :P
Oh and if you're running Mandrake, well, you shouldn't be :P But if you are, make SURE you chmod -s your linuxconf binary.
Type "which linuxconf" and find the path to the file and then simply "chmod -s /bin/linuxconf" or whatever the path to it is. Linuxconf has a huge local exploit on it and is +s for all Mandrake dists - very exploitable.
Comment