[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: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries? |
Date: |
Fri, 27 Mar 2015 12:10:38 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Dear Matthias,
Matthias Geier schrieb:
> Static libraries can be converted to DLLs with gcc (which in turn
> calls ld) using the -shared flag. Without this flag, gcc would try to
> make an .exe file, which wouldn't work because there is no main
> function (and besides, I don't want an .exe file anyway).
>
> The essential part, which took me quite a while to find out, is to use
> the option -Wl,--whole-archive;
That's really a great solution! Kudos for finding that out.
Regards,
Volker
--
Volker Grabsch
---<<(())>>---
- Re: [Mingw-cross-env-list] MXE: How to build a self-sufficient DLL that statically includes other libraries?, (continued)
- Message not available
- Message not available
- 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/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 <=
- 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, 2015/03/30
- 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