[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that
From: |
JohnD |
Subject: |
Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries? |
Date: |
Mon, 30 Mar 2015 11:03:12 -0400 |
> -----Original Message-----
> From: Matthias Geier [mailto:address@hidden
> Sent: Monday, March 30, 2015 10:35 AM
> To: John Donoghue
> Cc: address@hidden
> Subject: Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL
> that
> statically includes other libraries?
>
> Hi John.
>
> On Fri, Mar 27, 2015 at 11:37 AM, John Donoghue wrote:
> > Wouldnt using tools/make-shared-from-static to create shared libs work?
>
> Thanks for the hint!
> To be honest, I wasn't aware of the tools/ directory at all!
>
> Is there any documentation for how to use this?
>
> I came that far:
>
> $ tools/make-shared-from-static --ar ar --ld ld usr/x86_64-w64-
> mingw32.static/lib/libsndfile.a -lFLAC
>
> This leads to a lot of linker errors, among others regarding lrint, strlen,
> memset,
> calloc ...
>
> What other options am I supposed to use?
>
> cheers,
> Matthias
Take a look at the mxe main Makefile which defines a variable
MAKE_SHARED_FROM_STATIC
Ar, ld etc will need to be the cross compiled target versions, there also
options for the lib and bin path
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, (continued)
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Matthias Geier, 2015/03/24
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Nikos Chantziaras, 2015/03/24
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Matthias Geier, 2015/03/25
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Nikos Chantziaras, 2015/03/25
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Matthias Geier, 2015/03/25
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Matthias Geier, 2015/03/25
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Matthias Geier, 2015/03/27
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Volker Grabsch, 2015/03/27
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, John Donoghue, 2015/03/27
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Matthias Geier, 2015/03/30
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?,
JohnD <=
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Matthias Geier, 2015/03/30
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, Nikos Chantziaras, 2015/03/27