| Author |
(expat?) Xml parser as static code?
|
|
| John Smith 2004-10-22, 8:56 am |
| Hello
I'm in need of a xml parser that is able to compile staticly under both
Win32 and Linux. For now I was using expat but it seems to compile into a
..so file under linux. This is not very good when I want to redistribute my
software.
I know expat uses autoconf, and libtool. Maybe theres some switch to force
it to compile staticly but I'm not very sharp into autoconf. Their own
mailinglist wasn't very helpful though as noone responded to this question.
Maybe one of you would know or can recommend another xml parser which is
extremely simple and easy to use under many platforms.
Thanks in advance.
-- John
| |
| Måns Rullgård 2004-10-22, 8:56 am |
| "John Smith" <john.smith@x-formation.com> writes:
> Hello
>
> I'm in need of a xml parser that is able to compile staticly under both
> Win32 and Linux. For now I was using expat but it seems to compile into a
> .so file under linux. This is not very good when I want to redistribute my
> software.
> I know expat uses autoconf, and libtool. Maybe theres some switch to force
> it to compile staticly but I'm not very sharp into autoconf. Their own
> mailinglist wasn't very helpful though as noone responded to this question.
> Maybe one of you would know or can recommend another xml parser which is
> extremely simple and easy to use under many platforms.
Try ./configure --enable-static
--
Måns Rullgård
mru@mru.ath.cx
| |
| Nils O. Selåsdal 2004-10-22, 8:56 am |
| John Smith wrote:
> Hello
>
> I'm in need of a xml parser that is able to compile staticly under both
> Win32 and Linux. For now I was using expat but it seems to compile into a
> .so file under linux. This is not very good when I want to redistribute my
> software.
You should be able to get a static library.
try ./configure --enable-static --disable-shared
--
Nils O. Selåsdal
www.utelsystems.com
|
|
|
|