[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] boost & db debugging
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] boost & db debugging |
Date: |
Wed, 25 Nov 2015 14:29:52 +1100 |
Hi Troy,
> On 24 Nov 2015, at 15:15, Troy Benjegerdes <address@hidden> wrote:
>
> I've got some errors that result in stuff like the following:
>
> /home/tmagik/src/grt/deps/mxe/usr/i686-w64-mingw32.static/lib/libboost_chrono-mt.a(chrono.o):
> duplicate section
> `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE]'
> has different size
> /home/tmagik/src/grt/deps/mxe/usr/i686-w64-mingw32.static/lib/libdb_cxx.a(os_pid.o):os_pid.c:(.text+0x25):
> undefined reference to `pthread_self'
>
>
> The first thing I'm trying to figure out is how can I 'make clean' on just
> a single package so I can rebuild libdb and leave the source files laying
> around? It seems like I can only 'make clean' on the whole thing, which I
> don't really want to do.
There’s no way to do that cleanly, unfortunately. I normally just take a copy
of the `usr` directory at certain points and revert to that.
> Second question:
>
> What would it take to override the building of the entire mingw toolchain
> and just use the 'i686-w64-mingw32-gcc' that I already have installed from
> the debian mingw packages?
It would take a lot of fiddling with wrapper scripts and spec files. Have you
tried the mxe packages at:
http://mxe.redjohn.tk/
The apt repository there has all packages and behaves as you’d expect with
uninstall and dependency handling.
Cheers,
Tony