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

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


Update: now compilation goes farther: libclam_core and libclam_processing 
compiles successfully. No time to see whether libclam_audioio compiles, but 
probably it will fail when getting into id3tag.

I had to comment out Array init specializations for basic types as they gave 
me duplicated symbols.

Pau, could you compile id3tag and xercesc with mingw on the virtual win box?

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



On Dilluns 07 Maig 2007, David García Garzón wrote:
> 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 --------------
A non-text attachment was scrubbed...
Name: crosscompiling-2.patch
Type: text/x-diff
Size: 13571 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070507/6e8d9261/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/6e8d9261/attachment.sig>


More information about the clam-devel mailing list