OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: expat as a shared library

[ Lists Home | Date Index | Thread Index ]
  • From: Steve Ball <Steve.Ball@zveno.com>
  • To: Brian Hurt <bhurt@talkware.net>
  • Date: Tue, 16 Nov 1999 09:43:23 +1100

Brian Hurt wrote:
> I'm looking at building expat as a shared library (.so) on linux, to make
> it easier to build into programs.  Searching the archives reveals only one
> message, from James Thompson, back in july, and no replies.
> Some questions:
> 1) Is there any reason people are opposed to this?
> 2) Mr. Thompson ran into problems in July- have they been resolved?
> 3) What is the approved method for submitting patches to expat?  Just post
> them to the list?  Send them to James Clark?  Is there a cvs or ftp
> repository they should be going in?

TclExpat - the Tcl interface to expat - builds expat as a shared library.
That's the easiest way to load the package into a Tcl interpreter.

Building a shared library is quite easy.  TclExpat builds expat in the
usual way, but adds the -PIC flag.  It then takes the object files and
constructs the shared library.  The know-how on how to do that on various
platforms is actually taken from the Tcl configuration, since Tcl is
very good at determining which compile and link flags are ncessary.
I can dig up some more specific details if you require.

I don't the answer to (3), but I think sending them to JC is the way to go.

Steve Ball

Steve Ball            |   Swish XML Editor    | Training & Seminars
Zveno Pty Ltd         |   Web Tcl Complete    |      XML XSL
http://www.zveno.com/ |    TclXML TclDOM      | Tcl, Web Development
Steve.Ball@zveno.com  +-----------------------+---------------------
Ph. +61 2 6242 4099   | Mobile (0413) 594 462 | Fax +61 2 6242 4099

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS