On Sat, Nov 08, 2008 at 10:35:17AM +0000, Richard W.M. Jones wrote:
I gather that you didn't write Poco's build system, but you
need to go
back and find out why it's including this. Probably (as demonstrated
by the MinGW / Cygwin confusion above), Poco either hasn't been ported
to MinGW, or needs some different options to compile under a true
MinGW cross-compiler.
I had a closer look at Poco, and the problem is the latter: Poco have
made the mistake of beliving that they can hand-roll a build system
which is better than autoconf, and as with everyone who tries that
they've ended up with something which is both worse and unfamiliar.
(Still, at least it's not as bad as what Boost did. Oh my, their
hand-rolled build system is a tremendous example of fail).
This was my best shot at a patch for Poco 'economy' 1.3.3p1:
(a) Copy build/config/MinGW to build/config/MinGW-cross
(b) Apply the attached patches, in order
(c) ./configure --config=MinGW-cross
(d) make
(This builds plausible-looking DLLs and binaries - I didn't test
whether they worked.)
**Please submit the patches back** to Poco's upstream for inclusion in
future releases.
Since Poco is a development tool / library under a free license, this
is something that is suitable for inclusion in the Fedora MinGW
project. You would need to get sponsored[1] if you aren't already,
and submit a review request[2] for it. This way, we can share
maintenance tasks for it, and you get a supported, up to date version
in Fedora itself.
Rich.
[1]
http://fedoraproject.org/wiki/PackageMaintainers/HowToGetSponsored
[2]
http://fedoraproject.org/wiki/PackageMaintainers/Join
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my OCaml programming blog:
http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora