[CWB] Cross-compiling

Hardie, Andrew a.hardie at lancaster.ac.uk
Thu Mar 23 10:49:07 CET 2017


Very interesting -- I must confess that the last time I cross-compiled at all it *very nearly* didn't work due to changes in prerequisites since I wrote the instructions. I'm determined to redo the procedure in future using mingw_w64 instead of original flavour mingw32, and if possible also work out instructions for building natively on Windows. Never enough time, alas...

best

Andrew.


On 23 Mar 2017 8:48 a.m., Andreas Blätte <andreas.blaette at uni-due.de> wrote:
Dear colleagues,

after hours of pain, I think I managed to cross-compile a 64 bit Windows
version of the CWB.  If you are interested, this is where you can get
the result:

http://polmine.sowi.uni-due.de/public/?dir=CWB


Feedback welcome, whether this really passes your tests!

The instructions in the INSTALL-WIN file are really very helpful.
However, cross-compiling glib caused me quite a few headaches (at the
end, I did not do that myself). I tried to capture in a gist at GitHub
how I proceeded:

https://gist.github.com/ablaette/dc43b7f916121da7e6d15999e4bacf00

The intention behind this 64 bit version is to be able to compile some
C/C++ code in an R package agains libcl, and to make functions available
to a R package I am developing (polmineR, see
www.github.com/PolMine/polmineR<http://www.github.com/PolMine/polmineR>).

I admire the rcqp package that actually already does that, but I did not
manage to cross-compile that for 64 bit windows, and having immediate
access to the corpus library creates creates opportunities to speed up
performance critical tasks. Once I move beyond the proof of concept, I
will share that.

Kind regards

Andreas


--
Prof. Dr. Andreas Blätte
Professur für Public Policy und Landespolitik
Institut für Politikwissenschaft
Universität Duisburg-Essen

Lotharstr. 65 (Gebäude LS, Raum 019)
47057 Duisburg

Tel.: +49(0)203 379-2286
Fax: +49(0)203 379-3179



_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170323/0c03f975/attachment.html>


More information about the CWB mailing list