2013/7/15 niXman <[email protected]>
> 2013/7/15 Jon:
> > When I build C apps with mingwbuilds 4.8.1-win32-sjlj, the built
> artifacts have a runtime dependency on
> > `libgcc_s_sjlj-1.dll`. This is not the case when I use the rubenvb
> toolchains.
>
> Just now I checked with [1] and [2] and found no dependency on
> `libgcc_s_sjlj-1.dll`
> What am I doing wrong?
>
Let's get some things cleared out:
1) you can link libgcc statically by adding -static-libgcc to the link
command. There is also a -static-libstdc++ to go with it IIANM.
2) libgcc is not C++ only. You do need the dll version for exceptions to
work right, although special circumstances I currently don't remember are
needed to trigger malfunction.
3) libgcc contains the implementation of many compiler-generated function
calls. For a quite complete list of these, see e.g.
http://llvm.org/svn/llvm-project/compiler-rt/trunk/README.txt
4) This is not a bad thing.
Ruben
>
> [1]
> http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-win32/sjlj/x64-4.8.1-release-win32-sjlj-rev2.7z
> [2]
> http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-win32/sjlj/x64-4.8.1-release-win32-sjlj-rev1.7z
>
>
> --
> Regards,
> niXman
> ___________________________________________________
> Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows:
> http://sourceforge.net/projects/mingwbuilds/
> ___________________________________________________
> Another online IDE: http://liveworkspace.org/
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public