LinuxQuestions.org
Help answer threads with 0 replies.
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 07-23-2004, 06:00 AM   #1
mj_
LQ Newbie
 
Registered: Jul 2004
Location: Moscow, Russia
Distribution: ASP Linux
Posts: 1

Rep: Reputation: 0
Unhappy Linking whole archive into shared lib


Hi all!

I have a problem with linking whole static libraries into a single shared one. I know that linker includes object files from archives that contain referenced symbols. And I want to include all object files from all static archives. I tried ld option --whole-archive but it didn't work. At least in KDevelop. Please explain how to make such shared lib or drop me a link to the explanation.
 
  


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
Problem linking assembly program with C lib. 95se Programming 1 03-08-2005 09:44 PM
any links on linking, loading shared libraries, shared objects. etc? ananthbv Programming 0 02-03-2005 07:47 AM
g++ trouble linking against archive exitsfunnel Programming 3 01-05-2005 09:16 AM
/usr/lib/libkdeui.la is not a valid libtool archive pradsy90 Linux - Security 2 03-29-2004 04:22 PM
Linking to shared libraries? Griffon26 Programming 1 10-20-2001 05:29 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:52 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
Open Source Consulting | Domain Registration