Well, as usual, all I needed to do to solve my problem was
expose my ignorance.

In lieu of finding a make target or process that produces a
static archive, I just ran ar on the .o's and got what I needed.

Thanks anyway.  Later days!

-----Original Message-----
From: Christopher Hahn 
Sent: Tuesday, October 04, 2005 9:40 AM
To: Xerces-C-Users Email Group ([email protected])
Subject: Static library on Linux (libxerces-c.a)


Hello,

Pardon what must be an FAQ, but searching on the topic found 
the question, but not the answer.

I need to build a static library on Linux for linking into my 
executable, in order to run LSB certification tools against it.

The tried-and-true methods did not work (--enable-static)
and I have not found a reference to static in the docs
(http://xml.apache.org/xerces-c/build-winunix.html#UNIX)

Please send a pointer to the doc that details this process.
I have the shared lib build working fine.

TIA!

Christopher Hahn

P.S. It seems that this has been asked before, but this thread did not
have an answer:

List:       xerces-c-users
Subject:    Static library in Linux
From:       "Yaron Kretchmer" <YKRETCHM () altera ! com>
Date:       2005-07-08 18:43:25
<SNIP>
How can I get a static library (.a) file for xerces-c in linux RH? 
Do I need to hack the install script or is there a straightforward way?
<SNIP>

Reply via email to