You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Eyal Rif <Ey...@webmap.com> on 2001/09/17 10:32:08 UTC

Building Xerces-c as static lib

Hi,

How can I build Xerces-c on Linux as static lib (.a) and not as shared lib
(.so) ?

Any help/suggestion will be appreciated...


Thanks,


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Building Xerces-c as static lib

Posted by Dee Jay Randall <ra...@circularreasoning.com>.
  What I have done in the past was to take all the .o
files and stuff them in a libxerces-c1_4_0.a library.

  Briefly:
cd $XERCES_ROOT/obj/SOLARIS
ar r libxerces-c1_4_0.a *.o

  And then put the libxerces-c1_4_0.a wherever it belongs.

  All I can promise is that it worked for me.... Perhaps a
maintainer would like to comment?

  Dee Jay

+-----------------------------+------------------+-----------------------+
| Founding Partner            | Software Engineer| Dee Jay Randall, B.Sc.|
| Circular Reasoning          | Accrue Software  | M.Sc. Student, CS     |
| randal@circularreasoning.com| www.accrue.com   | ICQ # 43551676        |
+-----------------------------+------------------+-----------------------+
What is the average rank of every song ever written? 42  -- www.launch.com


On Mon, Sep 17 2001 at 11:32:08P +0300, Eyal Rif wrote:
> Hi,
> 
> How can I build Xerces-c on Linux as static lib (.a) and not as shared lib
> (.so) ?
> 
> Any help/suggestion will be appreciated...
> 
> 
> Thanks,
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Building Xerces-c as static lib

Posted by Juan Julian Merelo Guervos <jm...@geneura.ugr.es>.
Eyal Rif escribió:
> 
> Hi,
> 
> How can I build Xerces-c on Linux as static lib (.a) and not as shared lib
> (.so) ?
> 
> Any help/suggestion will be appreciated...
> 

Erase -shared from src/Makefile.incl

Kinda tricky, but it works.

J
-- 
AEB'02 => http://aeb02.unex.es
Dream => http://dr-ea-m.sourceforge.net
JJ Merelo => http://geneura.ugr.es/~jmerelo

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org