<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Once more, a small update on setting up a crosscompiler<br>
<br>
- clam: ok<br>
- plugins: spacialization is ok, osc does not compile (has it been
tried with another compiler?)<br>
- networkeditor: builds<br>
<br>
I also compiled boost, but not with all libraries as the crosscompiler
needs to be updated to be able to compile<br>
- errors: iostreams, math (one of the math libs)<br>
- not tried: python, regex with icu, mpi<br>
<br>
The question now is 'do we need/want a full boost version to ship with
clam or do we ship just the things we need?'<br>
<br>
- in the first case we need to update the crosscompiler to gcc 4.3 (but
we might need this any way when we want to update the binaries)<br>
- in the second case we just add what want/need now (many great libs
are header only) and fix the rest later ...<br>
<br>
What do you think?<br>
<br>
Dirk<br>
<br>
<br>
Some afterthoughts:<br>
<br>
- experience has shown that running more than 1 compiler over a
codebase makes it better (different compilers catch different bugs),
and that the testfarm/continuous build should be run on platforms you
ship for ...<br>
<br>
- from seeing a bit more code, I think that using for instance the
microsoft compiler is a lost case (it will need a lot!! of work); same
maybe applies to the intel compiler<br>
<br>
<br>
<br>
Dirk Griffioen wrote:
<blockquote cite="mid:4A323683.9060701@barcelonamedia.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Hi,<br>
<br>
Small update:<br>
<br>
- libmad still breaks after applying the patch.<br>
- Xerces seems to be fine<br>
- gtk does not complete fully: I cannot find pkg-config in either the
gtk of gmm dir<br>
<br>
So, building locally breaks.<br>
<br>
I downloaded the binary package with more success:<br>
- clam now builds (compile, link to dll)<br>
- networkeditor or plugins do not build, sadly<br>
<br>
Maybe David can help me a little bit?<br>
<br>
Another question is 'what needs to be done for adding boost'?<br>
- boost does not use autconf/make/configure/scons, but it's own build
tool: <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.boost.org/doc/tools/build/index.html">http://www.boost.org/doc/tools/build/index.html</a><br>
- would compiling it with mingw, installing and then grab include/lib
be enough?<br>
<br>
Thanks.<br>
<br>
Dirk<br>
<br>
<br>
<br>
<blockquote cite="mid:200906111904.20022.dgarcia@iua.upf.edu"
type="cite">
<pre wrap="">On Thursday 11 June 2009 18:35:51 dirk.griffioen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
After first trying native compiling (microsoft & mingw - both are
broken) I tried the crosscompile setup as I would like the opportunity
to add boost.
I wanted to setup anew because I don't want to break the existing one ...
However, I am having problems with a few libs:
- xerces does not finish because 'dllwrap' is not found
</pre>
</blockquote>
<pre wrap=""><!---->
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://clam-project.org/wiki/Devel/Windows_MinGW_cross_compile#Xerces-C">http://clam-project.org/wiki/Devel/Windows_MinGW_cross_compile#Xerces-C</a>
If that still gives you problems you can even disable it as long as you have
libxml++ working.
</pre>
<blockquote type="cite">
<pre wrap="">- libmad does not compile because libtool goes wrong
</pre>
</blockquote>
<pre wrap=""><!---->
Did you applied the pkg-config patch?
</pre>
<blockquote type="cite">
<pre wrap="">Futher, the gtk setup chokes wine to death, so I tried it a couple more
times - I think it is okay now ...
The rest is fine, so if the other 2 work I would be interested to see
how boost can be added.
</pre>
</blockquote>
<pre wrap=""><!---->
Just proceed to install it with prefix in the sandbox and append the procedure
you follow in the wiki page. Then we should add the proper configuration part
in the scons script, we can do that together if you want.
</pre>
<blockquote type="cite">
<pre wrap="">(PS - I did setup in a virtual machine, so you can get a copy for your
own crosscompiler)
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
Clam-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Clam-devel@llistes.projectes.lafarga.org">Clam-devel@llistes.projectes.lafarga.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel">https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>