You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Marco Ciatti <ma...@gmail.com> on 2008/06/05 11:52:21 UTC

About Porting xercesc on arm-linux platform

Does anybody knows about such a porting since as  far as I could find-out
there's no similar experiences.
Thankx,
Marco

Re: About Porting xercesc on arm-linux platform

Posted by Marco Ciatti <ma...@gmail.com>.
Hi Sebastian,

First of all thank you very much for your propmpt answer and sorry for this
late reply...

Anyway at the end I managed to cross-compile, xerces-c-src_2_8_0, for ARM
architecture with linux platform
using the following configuration:

runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rnone -C
-host=arm-linux

together with the snapgear-toolchain (g++, gcc, ...)

At a first glance it seems working on the target since the SAX2Print example
works and touching the personal-schema.xml to have it no longer valid
against its schema the validation fail as expected.

May be its to early to be happy but I think it's a good starting point.

Ciao,
Marco

On Thu, Jun 5, 2008 at 4:24 PM, Sebastian 'CrashandDie' Lauwers <
crashanddie@gmail.com> wrote:

> On Thu, Jun 5, 2008 at 11:52 AM, Marco Ciatti <ma...@gmail.com>
> wrote:
>
> Hi Marco,
>
> > Does anybody knows about such a porting since as  far as I could find-out
> > there's no similar experiences.
>
> I ported xerces-c to the Armel platform (especially, the Maemo
> platform, www.maemo.org), and considering Maemo is Debian based, I
> just had to take the debian-source files, and create the .deb packages
> from there.
>
> http://packages.debian.org/source/etch/xerces27
>
> Using the usual deb tools, it's possible to create the .deb files from
> the 3 files on the bottom of that page.
>
> I don't know which distribution you're using on that platform, but if
> you have access to debian tools, it might just be easier to  use the
> existing debian-provided ARM ports of xerces ?
>
> http://packages.debian.org/etch/arm/libxerces27/download
>
> Also, you could always look at the makefile for the .deb in order to
> understand how they did it ?
>
> > Thankx,
> > Marco
>
> HTH,
>
> S.
>
> --
> question = ( to ) ? be : ! be;
>  -- Wm. Shakespeare
>

Re: About Porting xercesc on arm-linux platform

Posted by Marco Ciatti <ma...@gmail.com>.
Hi Sebastian,

First of all thank you very much for your propmpt answer and sorry for this
late reply...

Anyway at the end I managed to cross-compile, xerces-c-src_2_8_0, for ARM
architecture with linux platform
using the following configuration:

runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rnone -C
-host=arm-linux

together with the snapgear-toolchain (g++, gcc, ...)

At a first glance it seems working on the target since the SAX2Print example
works and touching the personal-schema.xml to have it no longer valid
against its schema the validation fail as expected.

May be its to early to be happy but I think it's a good starting point.

Ciao,
Marco

On Thu, Jun 5, 2008 at 4:24 PM, Sebastian 'CrashandDie' Lauwers <
crashanddie@gmail.com> wrote:

> On Thu, Jun 5, 2008 at 11:52 AM, Marco Ciatti <ma...@gmail.com>
> wrote:
>
> Hi Marco,
>
> > Does anybody knows about such a porting since as  far as I could find-out
> > there's no similar experiences.
>
> I ported xerces-c to the Armel platform (especially, the Maemo
> platform, www.maemo.org), and considering Maemo is Debian based, I
> just had to take the debian-source files, and create the .deb packages
> from there.
>
> http://packages.debian.org/source/etch/xerces27
>
> Using the usual deb tools, it's possible to create the .deb files from
> the 3 files on the bottom of that page.
>
> I don't know which distribution you're using on that platform, but if
> you have access to debian tools, it might just be easier to  use the
> existing debian-provided ARM ports of xerces ?
>
> http://packages.debian.org/etch/arm/libxerces27/download
>
> Also, you could always look at the makefile for the .deb in order to
> understand how they did it ?
>
> > Thankx,
> > Marco
>
> HTH,
>
> S.
>
> --
> question = ( to ) ? be : ! be;
>  -- Wm. Shakespeare
>

Re: About Porting xercesc on arm-linux platform

Posted by Sebastian 'CrashandDie' Lauwers <cr...@gmail.com>.
On Thu, Jun 5, 2008 at 11:52 AM, Marco Ciatti <ma...@gmail.com> wrote:

Hi Marco,

> Does anybody knows about such a porting since as  far as I could find-out
> there's no similar experiences.

I ported xerces-c to the Armel platform (especially, the Maemo
platform, www.maemo.org), and considering Maemo is Debian based, I
just had to take the debian-source files, and create the .deb packages
from there.

http://packages.debian.org/source/etch/xerces27

Using the usual deb tools, it's possible to create the .deb files from
the 3 files on the bottom of that page.

I don't know which distribution you're using on that platform, but if
you have access to debian tools, it might just be easier to  use the
existing debian-provided ARM ports of xerces ?

http://packages.debian.org/etch/arm/libxerces27/download

Also, you could always look at the makefile for the .deb in order to
understand how they did it ?

> Thankx,
> Marco

HTH,

S.

-- 
question = ( to ) ? be : ! be;
 -- Wm. Shakespeare