* Distributing program compiled with gcc on Cygwin to Windows users
@ 2018-10-14 21:20 hackerwiz
2018-10-14 21:49 ` R0b0t1
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: hackerwiz @ 2018-10-14 21:20 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 5891 bytes --]
Hello,
I have a program that uses X11/Motif and runs fine, within Cygwin/X on the PC it was compiled on.
What is the *minimum* required set of Cygwin libs and any other files I need to distribute along with, it to end-users who may just have Windows (and not Cygwin) installed?
I appreciate your help.
"ldd " on my program gives these dependencies listed below:
thanks
-Ron
ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x77370000)
KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x75570000)
KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x74940000)
cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x5c630000)
cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x68c50000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
libtcl8.6.dll => /usr/bin/libtcl8.6.dll (0x58660000)
cygX11-6.dll => /usr/bin/cygX11-6.dll (0x695e0000)
cygXm-4.dll => /usr/bin/cygXm-4.dll (0x68a00000)
cygXpm-4.dll => /usr/bin/cygXpm-4.dll (0x69560000)
cygXt-6.dll => /usr/bin/cygXt-6.dll (0x694b0000)
cygperl5_26.dll => /usr/bin/cygperl5_26.dll (0x5d3b0000)
cygz.dll => /usr/bin/cygz.dll (0x5b8b0000)
cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0x5bc90000)
cygfontconfig-1.dll => /usr/bin/cygfontconfig-1.dll (0x67480000)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x61a20000)
cygjpeg-8.dll => /usr/bin/cygjpeg-8.dll (0x60c20000)
cygpng16-16.dll => /usr/bin/cygpng16-16.dll (0x5d600000)
cygXext-6.dll => /usr/bin/cygXext-6.dll (0x69810000)
cygXft-2.dll => /usr/bin/cygXft-2.dll (0x69720000)
cygXmu-6.dll => /usr/bin/cygXmu-6.dll (0x69590000)
cygICE-6.dll => /usr/bin/cygICE-6.dll (0x6fea0000)
cygSM-6.dll => /usr/bin/cygSM-6.dll (0x69970000)
cygcrypt-0.dll => /usr/bin/cygcrypt-0.dll (0x68790000)
cygXau-6.dll => /usr/bin/cygXau-6.dll (0x698f0000)
cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0x69830000)
cygexpat-1.dll => /usr/bin/cygexpat-1.dll (0x67e70000)
cygfreetype-6.dll => /usr/bin/cygfreetype-6.dll (0x66950000)
cygXrender-1.dll => /usr/bin/cygXrender-1.dll (0x69520000)
cyguuid-1.dll => /usr/bin/cyguuid-1.dll (0x5c8b0000)
cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x689a0000)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x64640000)
utwin.dll => /cygdrive/c/builds/solaris32/2018/2004-ut/utwin.dll (0x64c00000)
USER32.dll => /cygdrive/c/WINDOWS/System32/USER32.dll (0x73c50000)
win32u.dll => /cygdrive/c/WINDOWS/System32/win32u.dll (0x75650000)
mfc140d.dll => /cygdrive/c/WINDOWS/SYSTEM32/mfc140d.dll (0x63d20000)
ADVAPI32.dll => /cygdrive/c/WINDOWS/System32/ADVAPI32.dll (0x76dc0000)
GDI32.dll => /cygdrive/c/WINDOWS/System32/GDI32.dll (0x74f20000)
msvcrt.dll => /cygdrive/c/WINDOWS/System32/msvcrt.dll (0x74510000)
gdi32full.dll => /cygdrive/c/WINDOWS/System32/gdi32full.dll (0x770a0000)
sechost.dll => /cygdrive/c/WINDOWS/System32/sechost.dll (0x74f50000)
msvcp_win.dll => /cygdrive/c/WINDOWS/System32/msvcp_win.dll (0x758e0000)
ucrtbase.dll => /cygdrive/c/WINDOWS/System32/ucrtbase.dll (0x757c0000)
RPCRT4.dll => /cygdrive/c/WINDOWS/System32/RPCRT4.dll (0x747d0000)
COMDLG32.dll => /cygdrive/c/WINDOWS/System32/COMDLG32.dll (0x74cc0000)
SspiCli.dll => /cygdrive/c/WINDOWS/System32/SspiCli.dll (0x73c30000)
combase.dll => /cygdrive/c/WINDOWS/System32/combase.dll (0x76e40000)
CRYPTBASE.dll => /cygdrive/c/WINDOWS/System32/CRYPTBASE.dll (0x73c20000)
bcryptPrimitives.dll => /cygdrive/c/WINDOWS/System32/bcryptPrimitives.dll (0x75760000)
??? => ??? (0x3840000)
shcore.dll => /cygdrive/c/WINDOWS/System32/shcore.dll (0x754e0000)
ole32.dll => /cygdrive/c/WINDOWS/System32/ole32.dll (0x75960000)
SHLWAPI.dll => /cygdrive/c/WINDOWS/System32/SHLWAPI.dll (0x75670000)
OLEAUT32.dll => /cygdrive/c/WINDOWS/System32/OLEAUT32.dll (0x74da0000)
SHELL32.dll => /cygdrive/c/WINDOWS/System32/SHELL32.dll (0x75a70000)
VCRUNTIME140D.dll => /cygdrive/c/WINDOWS/SYSTEM32/VCRUNTIME140D.dll (0x6f700000)
IMM32.dll => /cygdrive/c/WINDOWS/System32/IMM32.dll (0x74b30000)
cfgmgr32.dll => /cygdrive/c/WINDOWS/System32/cfgmgr32.dll (0x75020000)
ucrtbased.dll => /cygdrive/c/WINDOWS/SYSTEM32/ucrtbased.dll (0x63ba0000)
windows.storage.dll => /cygdrive/c/WINDOWS/System32/windows.storage.dll (0x73de0000)
lmgr327b.dll => /cygdrive/c/builds/solaris32/2018/2004-ut/lmgr327b.dll (0x10000000)
kernel.appcore.dll => /cygdrive/c/WINDOWS/System32/kernel.appcore.dll (0x77210000)
COMCTL32.dll => /cygdrive/c/WINDOWS/WinSxS/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.17134.285_none_41037de2450e52da/COMCTL32.dll (0x701f0000)
profapi.dll => /cygdrive/c/WINDOWS/System32/profapi.dll (0x74f00000)
UxTheme.dll => /cygdrive/c/WINDOWS/SYSTEM32/UxTheme.dll (0x71c80000)
powrprof.dll => /cygdrive/c/WINDOWS/System32/powrprof.dll (0x75060000)
NETAPI32.dll => /cygdrive/c/WINDOWS/SYSTEM32/NETAPI32.dll (0x72c50000)
FLTLIB.DLL => /cygdrive/c/WINDOWS/System32/FLTLIB.DLL (0x75010000)
WINSPOOL.DRV => /cygdrive/c/WINDOWS/SYSTEM32/WINSPOOL.DRV (0x72070000)
bcrypt.dll => /cygdrive/c/WINDOWS/SYSTEM32/bcrypt.dll (0x73460000)
PROPSYS.dll => /cygdrive/c/WINDOWS/SYSTEM32/PROPSYS.dll (0x72540000)
IPHLPAPI.DLL => /cygdrive/c/WINDOWS/SYSTEM32/IPHLPAPI.DLL (0x723b0000)
Sent with [ProtonMail](https://protonmail.com) Secure Email.\x03BKCB\x1cØ\x19[H\x1c\^[Ü\x1cÎ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÜ\x1cØ\x19[\Ë\x1d^[[\x03BTN\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÙ\KÃB^[ØÝ[Y[\x18]\x1a[Û\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÙ^[ØÜË\x1d^[[\x03B[ÝXØÜXH\x1a[Î\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÛ[\vÈÝ[ÝXØÜXK\Ú[\^[\x19CBB
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Distributing program compiled with gcc on Cygwin to Windows users
2018-10-14 21:20 Distributing program compiled with gcc on Cygwin to Windows users hackerwiz
@ 2018-10-14 21:49 ` R0b0t1
2018-10-15 19:32 ` Hans-Bernhard Bröker
2018-10-16 18:49 ` cyg Simple
2 siblings, 0 replies; 7+ messages in thread
From: R0b0t1 @ 2018-10-14 21:49 UTC (permalink / raw)
To: hackerwiz, cygwin
On Sun, Oct 14, 2018, 4:20 PM <hackerwiz@protonmail.com> wrote:
> Hello,
>
> I have a program that uses X11/Motif and runs fine, within Cygwin/X on the
> PC it was compiled on.
>
> What is the *minimum* required set of Cygwin libs and any other files I
> need to distribute along with, it to end-users who may just have Windows
> (and not Cygwin) installed?
>
> I appreciate your help.
>
> "ldd " on my program gives these dependencies listed below:
>
> thanks
> -Ron
>
> ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x77370000)
> KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL
> (0x75570000)
> KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll
> (0x74940000)
> cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x5c630000)
> cyggcc_s-1.dll => /usr/bin/cyggcc_s-1.dll (0x68c50000)
> cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
> libtcl8.6.dll => /usr/bin/libtcl8.6.dll (0x58660000)
> cygX11-6.dll => /usr/bin/cygX11-6.dll (0x695e0000)
> cygXm-4.dll => /usr/bin/cygXm-4.dll (0x68a00000)
> cygXpm-4.dll => /usr/bin/cygXpm-4.dll (0x69560000)
> cygXt-6.dll => /usr/bin/cygXt-6.dll (0x694b0000)
> cygperl5_26.dll => /usr/bin/cygperl5_26.dll (0x5d3b0000)
> cygz.dll => /usr/bin/cygz.dll (0x5b8b0000)
> cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0x5bc90000)
> cygfontconfig-1.dll => /usr/bin/cygfontconfig-1.dll (0x67480000)
> cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x61a20000)
> cygjpeg-8.dll => /usr/bin/cygjpeg-8.dll (0x60c20000)
> cygpng16-16.dll => /usr/bin/cygpng16-16.dll (0x5d600000)
> cygXext-6.dll => /usr/bin/cygXext-6.dll (0x69810000)
> cygXft-2.dll => /usr/bin/cygXft-2.dll (0x69720000)
> cygXmu-6.dll => /usr/bin/cygXmu-6.dll (0x69590000)
> cygICE-6.dll => /usr/bin/cygICE-6.dll (0x6fea0000)
> cygSM-6.dll => /usr/bin/cygSM-6.dll (0x69970000)
> cygcrypt-0.dll => /usr/bin/cygcrypt-0.dll (0x68790000)
> cygXau-6.dll => /usr/bin/cygXau-6.dll (0x698f0000)
> cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0x69830000)
> cygexpat-1.dll => /usr/bin/cygexpat-1.dll (0x67e70000)
> cygfreetype-6.dll => /usr/bin/cygfreetype-6.dll (0x66950000)
> cygXrender-1.dll => /usr/bin/cygXrender-1.dll (0x69520000)
> cyguuid-1.dll => /usr/bin/cyguuid-1.dll (0x5c8b0000)
> cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x689a0000)
> cygintl-8.dll => /usr/bin/cygintl-8.dll (0x64640000)
> utwin.dll => /cygdrive/c/builds/solaris32/2018/2004-ut/utwin.dll
> (0x64c00000)
> USER32.dll => /cygdrive/c/WINDOWS/System32/USER32.dll (0x73c50000)
> win32u.dll => /cygdrive/c/WINDOWS/System32/win32u.dll (0x75650000)
> mfc140d.dll => /cygdrive/c/WINDOWS/SYSTEM32/mfc140d.dll
> (0x63d20000)
> ADVAPI32.dll => /cygdrive/c/WINDOWS/System32/ADVAPI32.dll
> (0x76dc0000)
> GDI32.dll => /cygdrive/c/WINDOWS/System32/GDI32.dll (0x74f20000)
> msvcrt.dll => /cygdrive/c/WINDOWS/System32/msvcrt.dll (0x74510000)
> gdi32full.dll => /cygdrive/c/WINDOWS/System32/gdi32full.dll
> (0x770a0000)
> sechost.dll => /cygdrive/c/WINDOWS/System32/sechost.dll
> (0x74f50000)
> msvcp_win.dll => /cygdrive/c/WINDOWS/System32/msvcp_win.dll
> (0x758e0000)
> ucrtbase.dll => /cygdrive/c/WINDOWS/System32/ucrtbase.dll
> (0x757c0000)
> RPCRT4.dll => /cygdrive/c/WINDOWS/System32/RPCRT4.dll (0x747d0000)
> COMDLG32.dll => /cygdrive/c/WINDOWS/System32/COMDLG32.dll
> (0x74cc0000)
> SspiCli.dll => /cygdrive/c/WINDOWS/System32/SspiCli.dll
> (0x73c30000)
> combase.dll => /cygdrive/c/WINDOWS/System32/combase.dll
> (0x76e40000)
> CRYPTBASE.dll => /cygdrive/c/WINDOWS/System32/CRYPTBASE.dll
> (0x73c20000)
> bcryptPrimitives.dll =>
> /cygdrive/c/WINDOWS/System32/bcryptPrimitives.dll (0x75760000)
> ??? => ??? (0x3840000)
> shcore.dll => /cygdrive/c/WINDOWS/System32/shcore.dll (0x754e0000)
> ole32.dll => /cygdrive/c/WINDOWS/System32/ole32.dll (0x75960000)
> SHLWAPI.dll => /cygdrive/c/WINDOWS/System32/SHLWAPI.dll
> (0x75670000)
> OLEAUT32.dll => /cygdrive/c/WINDOWS/System32/OLEAUT32.dll
> (0x74da0000)
> SHELL32.dll => /cygdrive/c/WINDOWS/System32/SHELL32.dll
> (0x75a70000)
> VCRUNTIME140D.dll =>
> /cygdrive/c/WINDOWS/SYSTEM32/VCRUNTIME140D.dll (0x6f700000)
> IMM32.dll => /cygdrive/c/WINDOWS/System32/IMM32.dll (0x74b30000)
> cfgmgr32.dll => /cygdrive/c/WINDOWS/System32/cfgmgr32.dll
> (0x75020000)
> ucrtbased.dll => /cygdrive/c/WINDOWS/SYSTEM32/ucrtbased.dll
> (0x63ba0000)
> windows.storage.dll =>
> /cygdrive/c/WINDOWS/System32/windows.storage.dll (0x73de0000)
> lmgr327b.dll =>
> /cygdrive/c/builds/solaris32/2018/2004-ut/lmgr327b.dll (0x10000000)
> kernel.appcore.dll =>
> /cygdrive/c/WINDOWS/System32/kernel.appcore.dll (0x77210000)
> COMCTL32.dll =>
> /cygdrive/c/WINDOWS/WinSxS/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.17134.285_none_41037de2450e52da/COMCTL32.dll
> (0x701f0000)
> profapi.dll => /cygdrive/c/WINDOWS/System32/profapi.dll
> (0x74f00000)
> UxTheme.dll => /cygdrive/c/WINDOWS/SYSTEM32/UxTheme.dll
> (0x71c80000)
> powrprof.dll => /cygdrive/c/WINDOWS/System32/powrprof.dll
> (0x75060000)
> NETAPI32.dll => /cygdrive/c/WINDOWS/SYSTEM32/NETAPI32.dll
> (0x72c50000)
> FLTLIB.DLL => /cygdrive/c/WINDOWS/System32/FLTLIB.DLL (0x75010000)
> WINSPOOL.DRV => /cygdrive/c/WINDOWS/SYSTEM32/WINSPOOL.DRV
> (0x72070000)
> bcrypt.dll => /cygdrive/c/WINDOWS/SYSTEM32/bcrypt.dll (0x73460000)
> PROPSYS.dll => /cygdrive/c/WINDOWS/SYSTEM32/PROPSYS.dll
> (0x72540000)
> IPHLPAPI.DLL => /cygdrive/c/WINDOWS/SYSTEM32/IPHLPAPI.DLL
> (0x723b0000)
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
Hello,
You can tell GCC to statically compile your binaries. However I usually
only do this for very simple programs that do not have many dependencies.
With complicated dependency chains it is possible to get to a place where
library X or Y *demands* dynamic loading and you are left trying to gather
the libraries.
To gather the libraries you can parse the output of ldd. I think there is
another program that will print out a dependency *tree* that is harder to
to parse but has options that generate more easily machine readable.
I have used the above for a ramdisk based system. It was easier than
statically compiling everything. I lost the code I think or I'd pass it
along.
Also consider installing Cygwin on the target system. It is a more
realistic solution even for automated deployments.
Cheers,
R0b0t1
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Distributing program compiled with gcc on Cygwin to Windows users
2018-10-14 21:20 Distributing program compiled with gcc on Cygwin to Windows users hackerwiz
2018-10-14 21:49 ` R0b0t1
@ 2018-10-15 19:32 ` Hans-Bernhard Bröker
2018-10-15 20:20 ` Andrey Repin
2018-10-16 18:49 ` cyg Simple
2 siblings, 1 reply; 7+ messages in thread
From: Hans-Bernhard Bröker @ 2018-10-15 19:32 UTC (permalink / raw)
To: cygwin
Am 14.10.2018 um 23:20 schrieb hackerwiz@protonmail.com:
> Hello,
>
> I have a program that uses X11/Motif and runs fine, within Cygwin/X on the PC it was compiled on.
>
> What is the *minimum* required set of Cygwin libs and any other files I need to distribute along with, it to end-users who may just have Windows (and not Cygwin) installed?
I'm reasonably sure that that minimum set would effectively have to be
an actual Cygwin installation. You'll need an X server, and that
requires a pretty complete Unix tool environment.
And that Cygwin environment will generally not transfer successfully
from one machine to another by just copying files. You really have to
run the Cygwin setup program.
And that's before we consider what might happen to users who actually
_do_ already have a Cygwin installation on their machines. Are you
prepared to explain to them why you interfered with those?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Distributing program compiled with gcc on Cygwin to Windows users
2018-10-15 19:32 ` Hans-Bernhard Bröker
@ 2018-10-15 20:20 ` Andrey Repin
0 siblings, 0 replies; 7+ messages in thread
From: Andrey Repin @ 2018-10-15 20:20 UTC (permalink / raw)
To: Hans-Bernhard Bröker, cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 1496 bytes --]
Greetings, Hans-Bernhard Bröker!
>> I have a program that uses X11/Motif and runs fine, within Cygwin/X on the
>> PC it was compiled on.
>>
>> What is the *minimum* required set of Cygwin libs and any other files I
>> need to distribute along with, it to end-users who may just have Windows
>> (and not Cygwin) installed?
> I'm reasonably sure that that minimum set would effectively have to be
> an actual Cygwin installation. You'll need an X server, and that
> requires a pretty complete Unix tool environment.
> And that Cygwin environment will generally not transfer successfully
> from one machine to another by just copying files. You really have to
> run the Cygwin setup program.
> And that's before we consider what might happen to users who actually
> _do_ already have a Cygwin installation on their machines. Are you
> prepared to explain to them why you interfered with those?
Bottom line is, you are better off hosting your own Cygwin repository with
your program and tell your clients how to set things up to pull it.
See
> Documentation: http://cygwin.com/docs.html
as well as setup --help.
--
With best regards,
Andrey Repin
Monday, October 15, 2018 23:05:30
Sorry for my terrible english...\x03BKCB\x1cØ\x19[H\x1c\^[Ü\x1cÎ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÜ\x1cØ\x19[\Ë\x1d^[[\x03BTN\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÙ\KÃB^[ØÝ[Y[\x18]\x1a[Û\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÙ^[ØÜË\x1d^[[\x03B[ÝXØÜXH\x1a[Î\b\b\b\b\b\x1a\x1d\x1d\x1c\x0eËØÞYÝÚ[ÛÛKÛ[\vÈÝ[ÝXØÜXK\Ú[\^[\x19CBB
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Distributing program compiled with gcc on Cygwin to Windows users
2018-10-14 21:20 Distributing program compiled with gcc on Cygwin to Windows users hackerwiz
2018-10-14 21:49 ` R0b0t1
2018-10-15 19:32 ` Hans-Bernhard Bröker
@ 2018-10-16 18:49 ` cyg Simple
2019-04-04 22:16 ` drikosev
2 siblings, 1 reply; 7+ messages in thread
From: cyg Simple @ 2018-10-16 18:49 UTC (permalink / raw)
To: cygwin
On 10/14/2018 5:20 PM, hackerwiz@protonmail.com wrote:
> Hello,
>
> I have a program that uses X11/Motif and runs fine, within Cygwin/X on the PC it was compiled on.
>
> What is the *minimum* required set of Cygwin libs and any other files I need to distribute along with, it to end-users who may just have Windows (and not Cygwin) installed?
>
> I appreciate your help.
>
> "ldd " on my program gives these dependencies listed below:
As far as Cygwin is concerned the list can be obtained via `ldd FOO.EXE
| grep /usr/bin'. You can determine what else is needed by the
following rooted procedure. Change ROOTED and FOO.EXE to match what you
desire to name it.
<untested>
/usr/bin/bash
$ mkdir -p /cygdrive/c/ROOTED/{bin,tmp,home,etc}
$ for FILE in `ldd FOO.EXE | grep /usr/bin`; do
$ cp ${FILE} /cygdrive/c/ROOTED/bin
$ done
CMD.EXE
cd -d c:\ROOTED\bin
FOO.EXE
</untested>
You should be able to use XMing for the clients X Windows manager but
has already been noted you still need to connect to an X client. You
will need to insure the DISPLAY variable is set appropriately for
FOO.EXE to communicate to the X server in CMD.EXE.
--
cyg Simple
P.S. Remember to follow the license requirements of each of the
distributed packages.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-04-04 23:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-14 21:20 Distributing program compiled with gcc on Cygwin to Windows users hackerwiz
2018-10-14 21:49 ` R0b0t1
2018-10-15 19:32 ` Hans-Bernhard Bröker
2018-10-15 20:20 ` Andrey Repin
2018-10-16 18:49 ` cyg Simple
2019-04-04 22:16 ` drikosev
2019-04-04 23:20 ` drikosev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).