[xsd-users] Cross-compiling xsd

Boris Kolpackov boris at codesynthesis.com
Thu May 16 19:46:33 EDT 2013


Ray Lischner <rlischner at proteuseng.com> writes:

> We are trying to use xsd in a cross-compile environment. The target
> system is slower than the host, so what we really want to do is to
> compile and run xsd on the local host, and then compile and run the
> tests on the target system. I don't see any easy way to do this,
> other than to run make on the host, and then to manually change the
> configuration-dynamic.make files before running make test on the
> target system.

Yes, this use case is not really supported (I don't think even automake
would allow you to do something like this). Normally, you would cross-
compile XSD for the host, run it, and then cross-compile the generated
code for the traget. Then copy the result to the target and run it there.
Won't this more canonical approach work for you?

Boris



More information about the xsd-users mailing list