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 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 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 Michaels
>>jmich...@yahoo.com
>>j...@renewalcomputerservices.com
>>http://RenewalComputerServices.com
>>http://JesusnJim.com (my personal site, has software)
>>---
>>IEC Units: Computer RAM & SSD measurements, microsoft disk size measurements 
>>(note: they will say GB or MB or KB or TB when it is IEC Units!):
>>[KiB] [MiB] [GiB] [TiB]
>>[2^10B=1,024^1B=1KiB]
>>[2^20B=1,024^2B=1,048,576B=1MiB]
>>[2^30B=1,024^3B=1,073,741,824B=1GiB]
>>[2^40B=1,024^4B=1,099,511,627,776B=1TiB]
>>[2^50B=1,024^5B=1,125,899,906,842,624B=1PiB]
>>SI Units: Hard disk industry disk size measurements:
>>
>>[kB] [MB] [GB] [TB]
>>[10^3B=1,000B=1kB]
>>[10^6B=1,000,000B=1MB]
>>[10^9B=1,000,000,000B=1GB]
>>[10^12B=1,000,000,000,000B=1TB]
>>[10^15B=1,000,000,000,000,000B=1PB]
>>
>>
>>------------------------------------------------------------------------------
>>
>>_______________________________________________
>>Mingw-w64-public mailing list
>>Mingw-w64-public@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
>>
>
>
>------------------------------------------------------------------------------
>
>
>_______________________________________________
>Mingw-w64-public mailing list
>Mingw-w64-public@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
>
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to