Re: [xml] Porting to ENEA - OSE

On Wed, Jun 28, 2006 at 05:11:36PM -0500, Dhiraj Kashyap wrote:

I followed up the FAQs and previous posts for possible porting issues. 
Since they are not comprehensive I have the following query.

Is there any porting guideline for porting to an OS which is currently 
not supported?

I am trying to port libxml 2.6.26 to ENEA's OSE. Its an embedded OS. I 
am attempting to support the basic skeleton of libxml architecture (no 
optional features) including parsing.

Any pointers would be great.

  I assume you don't have sh and configure capabilities for your target,
if that was the case just configure with a target cross compiler with
the set of options you want.

  Well, a C compiler is needed, a decent libc will help, desactivate 
everything you don't need, possibly by writing your own config.h .
You could look at win/wince compatibily stuff, or the one in the 
macos/ subdir. The specificconfig.h will just state what should or should not
be included, see config.h in the main dir and how config-mac.h is included
and otherwise the normal libxml/xmlversion.h . The trio stuff is a portable
rewrite of the *printf functions which tends to be broken on some libcs.

  Have fun !


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]