|
From: | Howard Chu |
Subject: | Re: Including static libraries in shared libraries with libtool. |
Date: | Sun, 26 Sep 2004 17:06:21 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040714 |
Bob Friesenhahn wrote:
On Sun, 26 Sep 2004, Howard Chu wrote:One more time, shouting into the senseless void...If these so-called "convenience" libraries are meant to be linked in whole, they should not be ar archives at all. You should just link them directly into a relocatable object file:ld -r -o <convenience.obj> *.o
You are taking things to an extreme. Your proposed simple command will surely fail if the system has an arbitrary maximum command line length (most do) and will fail if the objects use some other extension than ".o". Many assumptions are made which may not exist in practice.
No, I was giving an example in a shorthand (Unix command line) that most people will recognize. I could just as easily have written the corresponding example in JCL (but that would be beside the point, since libtool doesn't run there). The concept is the point, not the literal message.
-- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support
[Prev in Thread] | Current Thread | [Next in Thread] |