(expat?) Xml parser as static code?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > (expat?) Xml parser as static code?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    (expat?) Xml parser as static code?  
John Smith


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-22-04 12:49 PM

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







[ Post a follow-up to this message ]



    Re: (expat?) Xml parser as static code?  
Måns Rullgård


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-22-04 12:49 PM

"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





[ Post a follow-up to this message ]



    Re: (expat?) Xml parser as static code?  
Nils O. Selåsdal


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-22-04 12:49 PM

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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:47 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register