g++ compile to use in windows (with only the cygwin1.dll)

Eric Blake eblake@redhat.com
Thu Mar 18 00:58:00 GMT 2010


http://cygwin.com/acronyms/#PPIOSPE - redirecting to the list

On 03/17/2010 04:50 PM, martina leske wrote:
>>> the next error smg pops up (i searched it in my bin and put it in my dir from the programm)
>>> but that istn waht i want =/ i want that the rogramm is usable only with ONE dll data the cygwin1.dll
>>
>> Not necessarily going to happen. 'cygcheck your-program.exe' will show
>> you all the dlls that you depend on, and you may depend on libgcc1 in
>> addition to cygwin1.dll. But again, by modifying your PATH to point to
>> the right directory, all those dependencies should be there.
>>
> yeah thats ok but i want to send my programms to a friend of mine and i want to send only ONE data

Send them a single tar file, then.  But don't expect us to reduce the
number of dependencies - if your executable depends on multiple dlls
(which it probably does), then you have to ensure that they have those dlls.

And don't forget - if you distribute your program and/or cygwin dlls
used to make your program run, you are also obligated by the GPL to
distribute the source code associated with your distribution.

> and that dont work (data should be about 400-500kb but its only 243-26kb dont know exact size)

Are you complaining that your file is too small, or too large?

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100318/8394f3bb/attachment.sig>


More information about the Cygwin mailing list