2013/7/15 Ruben Van Boxem:

> 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.

Command line: 'gcc hello.c -ohello'
Code:
#include <stdio.h>
int main() { printf("%s\n", "Hello!"); }


--
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

Reply via email to