Re: [Mingw-w64-public] statically linking - need more detail

2014-03-29 Thread Ivan Garramona
Sorry, actually it's -static-libgcc -static-libstdc++. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/min

Re: [Mingw-w64-public] statically linking - need more detail

2014-03-29 Thread Ivan Garramona
I forgot to say. If you want only libgcc and libstdc++ static, you can use -shared-libgcc -shared-libstdc++. Regards. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.

Re: [Mingw-w64-public] statically linking - need more detail

2014-03-29 Thread Ivan Garramona
> > how does -static differ from -statlc-libgcc? > -static-libgcc will link only libgcc statically. > when compiling to .o files, -static is a problem isn't it? or not? > No, it's not. When compiling to .o files, these flags are ignored. > with -static, what happens when you combine with -lke

[Mingw-w64-public] g++ crashed while compiling this piece of code

2014-03-29 Thread lh_mouse
Source code attached: --- /* Thread model: win32 gcc version 4.8.2 (i686-win32-sjlj-rev3, Built by MinGW-W64 project) E:\Desktop>g++ test.cpp -std=c++11 test.cpp: In function 'int main()': test.cpp:16:34: internal compiler error: Segmentation fault foo({s.get_pair(), s.ge

Re: [Mingw-w64-public] statically linking - need more detail

2014-03-29 Thread Jim Michaels
how does -static differ from -statlc-libgcc? when compiling to .o files, -static is a problem isn't it? or not? with -static, what happens when you combine with -lkernel32? does it still use the kernel32.dll, or does it try to statically link in that DLL? not sure I completely understand the exte

Re: [Mingw-w64-public] statically linking - need more detail

2014-03-29 Thread Ivan Garramona
I think -static is what you're looking for. 2014-03-29 16:28 GMT-03:00 Jim Michaels : > I know how to statically link in the runtime, but not the stdc++ lib. I > want to make a monolithic exe. > -static-libgcc -lgcc > but what else do I put in? > thanks. > > - > Jim Michaels > jmich.

[Mingw-w64-public] statically linking - need more detail

2014-03-29 Thread Jim Michaels
I know how to statically link in the runtime, but not the stdc++ lib. I want to make a monolithic exe. -static-libgcc -lgcc but what else do I put in? thanks.   - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http://RenewalComputerServices.com http://JesusnJim.com

[Mingw-w64-public] unparking cores on windows

2014-03-29 Thread Jim Michaels
if you are doing parallel builds, this might be fore you. http://jesusnjim.com/pc-repair/speed-up/maximize-cpu-performance-disable-core-parking.html   - Jim Michaels jmich...@yahoo.com j...@renewalcomputerservices.com http://RenewalComputerServices.com http://JesusnJim.com (my personal