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

2014-03-30 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

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

2014-03-30 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

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

2014-03-30 Thread Ivan Garramona
Sorry, actually it's -static-libgcc -static-libstdc++. -- ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

[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

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 jmich...@yahoo.com: 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

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

2014-03-29 Thread Jim Michaels
the extent/meaning of -static. From: Ivan Garramona heavenandhell...@gmail.com To: mingw-w64-public@lists.sourceforge.net Sent: Saturday, March 29, 2014 1:24 PM Subject: Re: [Mingw-w64-public] statically linking - need more detail I think -static is what you're