LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 12-30-2006, 02:05 PM   #1
firefly2442
Member
 
Registered: Apr 2003
Location: USA
Distribution: Ubuntu
Posts: 95

Rep: Reputation: 15
Question 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.
 
Old 12-30-2006, 02:35 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't compile QT tutorial examples Dravis Programming 12 01-13-2008 08:54 PM
C++ tutorial (link) goosie Programming 5 03-12-2006 09:37 AM
problem when trying to static link with gcc glvgfz Programming 11 09-18-2005 08:58 PM
sendmail tutorial link shadowsurfer Linux - Newbie 1 04-14-2005 02:57 AM
how to static link a specific library? koodailar Programming 3 07-26-2004 04:35 PM


All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration