[Clam-devel] Crosscompiling patch (work on progress)

David García Garzón dgarcia at iua.upf.edu
Mon May 7 05:07:53 PDT 2007


Just to move the process from home to the office i send a patch on the work on progress crosscompilation. The patch is really ugly, adhoc and unsafe, don't commit it neither merge it your normal sandbox!!

I successfully configured the following libraries
pthreads: existing dll's
libsndfile: existing dll's
libogg existing dll's but adding mingw case at include/ogg/types.h
   #include <io.h>
   typedef int64_t ogg_int64_t;
   typedef int32_t ogg_int32_t;
   typedef uint32_t ogg_uint32_t;
   typedef int16_t ogg_int16_t;
   typedef uint16_t ogg_uint16_t;
libvorbis: existing dll's
libvorbisfile: existing dll's
libmad: existing dll's
fftw3: obtained as the wiki says
portaudio: obtained as the wiki says (asiosdk+directx+portaudio)

Some c++ libraries needs rebuild, and although they support mingw, they are hard to crosscompile without modification. For those i would prefer compile them on Pau's virtual windows box with a native mingw.

To keep running i disabled them:

$ cat clam.conf
sandbox_path = '../../../windows-external-libs'
xmlbackend = 'none'
with_fftw3 = 1
with_fftw = 0
audio_backend = 'portaudio'



-- 
David García Garzón
(Work) dgarcia at iua dot upf anotherdot es
http://www.iua.upf.edu/~dgarcia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070507/2986a5b4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crosscompiling-1.patch
Type: text/x-diff
Size: 11030 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070507/2986a5b4/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070507/2986a5b4/attachment.sig>


More information about the clam-devel mailing list