Posted: Sun Jan 22, 2006 11:23 pm Post subject: Tutorial Request.
Hi, I'm new to linux and I think the ability to compile sources would be a good skill to have. Can anyone write a tutorial on the strategies they use to compile sources? I find I download a source of something and it has over 15 header files and a few .cpp files and I have no idea how to compile it. And could this tutorial be written specifically for GCC in terms of how to do all the linking and so forth? I couldn't thank you enough if you decided to write a tutorial on this. Thanks.
Sponsor Sponsor
rizzix
Posted: Sun Jan 22, 2006 11:35 pm Post subject: (No subject)
it's pretty much standardized really
code:
cd to_dir
./configure --various-options
make
sudo make install
Justin_
Posted: Sun Jan 22, 2006 11:56 pm Post subject: (No subject)
How would you know what the "various options" are?
Hikaru79
Posted: Mon Jan 23, 2006 7:29 am Post subject: (No subject)
Justin_ wrote:
How would you know what the "various options" are?
They'd have to be mentioned in the INSTALL or README file, since each program will have different compile-time options. However, most of the time you don't need any of those fancy options, the defaults are just fine.
rizzix
Posted: Mon Jan 23, 2006 10:06 am Post subject: (No subject)
Justin_ wrote:
How would you know what the "various options" are?