LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Static Link Compile Tutorial (https://www.linuxquestions.org/questions/programming-9/static-link-compile-tutorial-514915/)

firefly2442 12-30-2006 01:05 PM

Static Link Compile Tutorial
 
Hello. I'm trying to statically link in a required library when I compile this code. However, I'm a complete beginner when it comes to compiling. I've been trying to read through an Autotools manual:

http://sources.redhat.com/autobook/

But it's still pretty confusing. Are there any other good online resources for beginners that don't just cover HelloWorld? Thanks. :)

tuxdev 12-30-2006 01:35 PM

Pass -static into gcc through CFLAGS. AutoTools or not, it doesn't make any difference.


All times are GMT -5. The time now is 09:24 AM.