* please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
@ 2013-07-27 3:32 Kenneth Wolcott
2013-07-27 5:20 ` marco atzeri
2013-07-27 5:28 ` please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion Andrey Repin
0 siblings, 2 replies; 15+ messages in thread
From: Kenneth Wolcott @ 2013-07-27 3:32 UTC (permalink / raw)
To: cygwin
Hi;
please update the supported Cygwin package list to be distinct for
32-bit, 64-bit or both; and help on how install both in a merged
fashion
I noticed cgf's "mirrored" cgwin installation for 64-bit and 32-bit
Cygwin: very nice.
Now, you guys might think I'm 100% nuts, but I download *everything*
and install *everything* from Cygwin, although there is very little
that I configure (I use the applications out-of-the-box). [for
example, I never have configured an ssh server on Cygwin].
So, not all of the Cygwin packages are 64-bit yet (looking forward to that day).
So, what I would like to do is:
1. download all 64-bit packages;
2. download all 32-bit packages that aren't already represented in 64-bit form;
3. somehow install so that I have everything from both #1 and #2;
I could do the following:
1. Download all of the 64-bit Cygwin packages;
2. Download all of the 32-bit packages (inefficient, but the command
line install is hard to program);
3. Delete all 32-bit packages that are represented in the 64-bit download;
4. modify the text file (?) installed_db?
5. Install from the download directory the 64-bit products;
6. install from the download directory the 32-bit products;
Now, is there a better way to do this?
Another thought that I had was that I would have two distinct Cygwin
installations, one fully 64-bit and the other one would be fully
32-bit.
I guess what I'd like to have is a hybrid of cgf's method and the
combination of two distinct Cygwin installations, one 32-bit and the
other 64-bit.
Thanks,
Ken Wolcott
--
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] 15+ messages in thread
* Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
2013-07-27 3:32 please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion Kenneth Wolcott
@ 2013-07-27 5:20 ` marco atzeri
2013-07-27 5:24 ` Kenneth Wolcott
2013-07-27 5:28 ` please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion Andrey Repin
1 sibling, 1 reply; 15+ messages in thread
From: marco atzeri @ 2013-07-27 5:20 UTC (permalink / raw)
To: cygwin
Il 7/27/2013 5:18 AM, Kenneth Wolcott ha scritto:
> Hi;
>
> please update the supported Cygwin package list to be distinct for
> 32-bit, 64-bit or both; and help on how install both in a merged
> fashion
there is no merged way.
The 32bit and the 64bit could be installed in different directory
but NOT in the same one.
>
> Thanks,
> Ken Wolcott
>
--
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] 15+ messages in thread
* Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
2013-07-27 5:20 ` marco atzeri
@ 2013-07-27 5:24 ` Kenneth Wolcott
2013-07-27 6:20 ` LRN
2013-07-27 6:29 ` marco atzeri
0 siblings, 2 replies; 15+ messages in thread
From: Kenneth Wolcott @ 2013-07-27 5:24 UTC (permalink / raw)
To: cygwin
On Fri, Jul 26, 2013 at 9:42 PM, marco atzeri <marco.atzeri@gmail.com> wrote:
> Il 7/27/2013 5:18 AM, Kenneth Wolcott ha scritto:
>
>> Hi;
>>
>> please update the supported Cygwin package list to be distinct for
>> 32-bit, 64-bit or both; and help on how install both in a merged
>> fashion
>
>
> there is no merged way.
> The 32bit and the 64bit could be installed in different directory
> but NOT in the same one.
Hi Marco;
Thanks for your reply.
I guess I will somehow modify my PATH so that I have
/cygdrive/c/cygwin64/usr/bin and /cygdrive/c/cygwin32/usr/bin
(although I don't think that will work exactly like that). Some fstab
magic? Some symlink magic?
I will continue experimenting.
Thanks,
Ken Wolcott
--
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] 15+ messages in thread
* Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
2013-07-27 5:24 ` Kenneth Wolcott
@ 2013-07-27 6:20 ` LRN
2013-07-27 7:26 ` Andrey Repin
2013-07-27 6:29 ` marco atzeri
1 sibling, 1 reply; 15+ messages in thread
From: LRN @ 2013-07-27 6:20 UTC (permalink / raw)
To: cygwin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 27.07.2013 09:17, Kenneth Wolcott wrote:
> On Fri, Jul 26, 2013 at 9:42 PM, marco atzeri <marco.atzeri@gmail.com> wrote:
>> Il 7/27/2013 5:18 AM, Kenneth Wolcott ha scritto:
>>
>>> Hi;
>>>
>>> please update the supported Cygwin package list to be distinct for
>>> 32-bit, 64-bit or both; and help on how install both in a merged
>>> fashion
>>
>>
>> there is no merged way.
>> The 32bit and the 64bit could be installed in different directory
>> but NOT in the same one.
>
> Hi Marco;
>
> Thanks for your reply.
>
> I guess I will somehow modify my PATH so that I have
> /cygdrive/c/cygwin64/usr/bin and /cygdrive/c/cygwin32/usr/bin
> (although I don't think that will work exactly like that). Some fstab
> magic? Some symlink magic?
>
> I will continue experimenting.
Try this:
run %ComSpec%
> mklink /D %SystemRoot%\System32\cygwin c:\cygwin64
> mklink /D %SystemRoot%\SysWOW64\cygwin c:\cygwin32
Then edit your user envrionment valriable table and add
%SystemRoot%\System32\cygwin\bin to PATH.
This way you will run 32-bit cygwin programs from 32-bit programs, and
64-bit programs from 64-bit programs.
That is, if you start c:\windows\system32\cmd.exe, it'll run 64-bit
apps, while c:\windows\syswow64\cmd.exe will only run 32-bit apps.
Obviously, you need to set up symlinks as Administrator, or give
yourself the SeCreateSymbolicLinkPrivilege privilege. Changing the
contents of system directories might also require you to be the
Administrator (not sure).
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJR81p/AAoJEOs4Jb6SI2CwgSIIALCjy2f2M4HTAdu4NQeGhK8+
XXRgvuSs38kb+EOQt/jMK2PbDjhpvpeKajwIwoVXsfNyQO4hBuHswa94A2i7GH8z
Xu7P27QbYTKD6k8eqXRhUfM/Vg4XkYnJpYD5kqaFsu6rEOOya1H2Q9yADZwsqmaA
NT73a9urkouz5c9N2Z7xeM8aD/ptH6L1Drmr13H6yADbs6MABKVShuPcjFQYz/JX
WrzFSUQhZFN2sVnauWwqIEwyH/AI0E7/jZ+qOTrDOGTQknw4ph1vmBxeHKDDa3zh
gkPL+V0xiiGdzBcgExdJi7NIJcIwvykSuXe264U9MDgmkQ7YFqrTQ+XoMmqV7S4=
=Zsjm
-----END PGP SIGNATURE-----
--
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] 15+ messages in thread
* Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
2013-07-27 6:20 ` LRN
@ 2013-07-27 7:26 ` Andrey Repin
2013-07-27 10:30 ` LRN
0 siblings, 1 reply; 15+ messages in thread
From: Andrey Repin @ 2013-07-27 7:26 UTC (permalink / raw)
To: LRN, cygwin
Greetings, LRN!
> Try this:
> run %ComSpec%
>> mklink /D %SystemRoot%\System32\cygwin c:\cygwin64
>> mklink /D %SystemRoot%\SysWOW64\cygwin c:\cygwin32
> Then edit your user envrionment valriable table and add
> %SystemRoot%\System32\cygwin\bin to PATH.
> This way you will run 32-bit cygwin programs from 32-bit programs, and
> 64-bit programs from 64-bit programs.
That raise a question. Isn't 32-bit Cygwin apps compiled 64-bit aware?
> That is, if you start c:\windows\system32\cmd.exe, it'll run 64-bit
> apps, while c:\windows\syswow64\cmd.exe will only run 32-bit apps.
> Obviously, you need to set up symlinks as Administrator, or give
> yourself the SeCreateSymbolicLinkPrivilege privilege. Changing the
> contents of system directories might also require you to be the
> Administrator (not sure).
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 27.07.2013, <10:10>
Sorry for my terrible english...
--
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] 15+ messages in thread
* Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
2013-07-27 7:26 ` Andrey Repin
@ 2013-07-27 10:30 ` LRN
0 siblings, 0 replies; 15+ messages in thread
From: LRN @ 2013-07-27 10:30 UTC (permalink / raw)
To: cygwin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 27.07.2013 10:11, Andrey Repin wrote:
> Greetings, LRN!
>
>> Try this:
>> run %ComSpec%
>
>>> mklink /D %SystemRoot%\System32\cygwin c:\cygwin64
>>> mklink /D %SystemRoot%\SysWOW64\cygwin c:\cygwin32
>
>> Then edit your user envrionment valriable table and add
>> %SystemRoot%\System32\cygwin\bin to PATH.
>
>> This way you will run 32-bit cygwin programs from 32-bit programs, and
>> 64-bit programs from 64-bit programs.
>
> That raise a question. Isn't 32-bit Cygwin apps compiled 64-bit aware?
> notepad c:\Windows\System32\this-is-system32.txt
Ctrl+S
> notepad c:\windows\syswow64\this-is-syswow64.txt
Ctrl+S
$ ls -l /cygdrive/c/windows/system32 | grep this-is
- -rwx------+ 1 Administrators None 0 Jul 27 05:19
this-is-syswow64.txt
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJR835AAAoJEOs4Jb6SI2CwcRwH+QHhAsysot7SF7b7w4YbRoMx
QWNiOIaDH+mDAfwfXhRVO6Qhlfz0rqO0CPPVMRzOnWkZ63Evl1IR8U7zYK3RXbdG
+qYknXRoq+fvb6ku5g/4PoqsD8rALMsaKKq6Sxg0QcuXsdhyg89DIEpJoqBJiyKj
xFctY13R/my4UNtX8MsG05aYsShrY55Bbw8ZPY/hi54Z84id3AKSAPu856XcbMal
Om3nT8pe0gnaT3SP0r6qShiaQPXSCYtAHUZxhGU2WGxZrvLiHsmYZ6Qq/PpGf2jL
jKCjmctmXOrWOfmVAnospm1PCXEG3+/8/xHbVGl/g4RpIsyIOXp2EBrKc8eybn8=
=7aRJ
-----END PGP SIGNATURE-----
--
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] 15+ messages in thread
* Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
2013-07-27 5:24 ` Kenneth Wolcott
2013-07-27 6:20 ` LRN
@ 2013-07-27 6:29 ` marco atzeri
2013-07-27 7:57 ` Warren Young
1 sibling, 1 reply; 15+ messages in thread
From: marco atzeri @ 2013-07-27 6:29 UTC (permalink / raw)
To: cygwin
Il 7/27/2013 7:17 AM, Kenneth Wolcott ha scritto:
> On Fri, Jul 26, 2013 at 9:42 PM, marco atzeri <marco.atzeri@gmail.com> wrote:
>> Il 7/27/2013 5:18 AM, Kenneth Wolcott ha scritto:
>>
>>> Hi;
>>>
>>> please update the supported Cygwin package list to be distinct for
>>> 32-bit, 64-bit or both; and help on how install both in a merged
>>> fashion
>>
>>
>> there is no merged way.
>> The 32bit and the 64bit could be installed in different directory
>> but NOT in the same one.
>
> Hi Marco;
>
> Thanks for your reply.
>
> I guess I will somehow modify my PATH so that I have
> /cygdrive/c/cygwin64/usr/bin and /cygdrive/c/cygwin32/usr/bin
> (although I don't think that will work exactly like that). Some fstab
> magic? Some symlink magic?
mixing will not work as the dll's are called in the same way
64 $ file cygwin1.dll
cygwin1.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
$ file cygwin1.dll
cygwin1.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
>
> I will continue experimenting.
>
> Thanks,
> Ken Wolcott
>
Marco
--
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] 15+ messages in thread
* Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
2013-07-27 6:29 ` marco atzeri
@ 2013-07-27 7:57 ` Warren Young
[not found] ` <51F9A3BE.4020907@tlinx.org>
0 siblings, 1 reply; 15+ messages in thread
From: Warren Young @ 2013-07-27 7:57 UTC (permalink / raw)
To: Cygwin-L
On 7/26/2013 23:44, marco atzeri wrote:
> Il 7/27/2013 7:17 AM, Kenneth Wolcott ha scritto:
>>
>> I guess I will somehow modify my PATH so that I have
>> /cygdrive/c/cygwin64/usr/bin and /cygdrive/c/cygwin32/usr/bin
>
> mixing will not work as the dll's are called in the same way
Just to emphasize: if both 32- and 64-bit Cygwin bin dirs are in your
PATH at the same time, you will get complaints in the terminal window
every time you try to run a 32-bit Cygwin program while in a 64-bit
mintty shell, or vice versa.
The most likely reason this will happen is that the package set in both
Cygwins isn't the same.
This could be fixed, but it wouldn't be trivial:
1. Rename the 64-bit cygwin1.dll; say, cygwin2.dll. (It's not that wild
an idea. The ABI *is* different between 32- and 64-bit versions.)
2. Teach setup.exe how to install packages of both bitnesses at the same
time. You'd end up with something like many Linuxes: /bin and /bin64,
/lib and /lib64.
3. Teach cygport how to build and configure both bitnesses at the same
time. This is nontrivial in itself.
Having done all that, you still don't end up with a completely
integrated pair of Cygwins, since they aren't going to have any shared
in-memory data structures. (Separate cygheaps.) You couldn't pass a
file handle from a 32-bit Cygwin program to a 64-bit Cygwin program, for
example.
--
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] 15+ messages in thread
* Re: please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion
2013-07-27 3:32 please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion Kenneth Wolcott
2013-07-27 5:20 ` marco atzeri
@ 2013-07-27 5:28 ` Andrey Repin
1 sibling, 0 replies; 15+ messages in thread
From: Andrey Repin @ 2013-07-27 5:28 UTC (permalink / raw)
To: Kenneth Wolcott, cygwin
Greetings, Kenneth Wolcott!
> please update the supported Cygwin package list to be distinct for
> 32-bit, 64-bit or both; and help on how install both in a merged
> fashion
> I noticed cgf's "mirrored" cgwin installation for 64-bit and 32-bit
> Cygwin: very nice.
> Now, you guys might think I'm 100% nuts, but I download *everything*
> and install *everything* from Cygwin, although there is very little
> that I configure (I use the applications out-of-the-box). [for
> example, I never have configured an ssh server on Cygwin].
> So, not all of the Cygwin packages are 64-bit yet (looking forward to that day).
> So, what I would like to do is:
> 1. download all 64-bit packages;
> 2. download all 32-bit packages that aren't already represented in 64-bit form;
> 3. somehow install so that I have everything from both #1 and #2;
That's not how things are supposed to work. And all the necessary packages
will eventually be updated to 64-bit, or obsoleted/removed.
The very simple reason is that you can't load 64-bit DLL into 32-bit process
without much fiddling around.
> I could do the following:
> 1. Download all of the 64-bit Cygwin packages;
> 2. Download all of the 32-bit packages (inefficient, but the command
> line install is hard to program);
> 3. Delete all 32-bit packages that are represented in the 64-bit download;
> 4. modify the text file (?) installed_db?
> 5. Install from the download directory the 64-bit products;
> 6. install from the download directory the 32-bit products;
> Now, is there a better way to do this?
> Another thought that I had was that I would have two distinct Cygwin
> installations, one fully 64-bit and the other one would be fully
> 32-bit.
> I guess what I'd like to have is a hybrid of cgf's method and the
> combination of two distinct Cygwin installations, one 32-bit and the
> other 64-bit.
You can just use 32-bit installation, if 64-bit is missing anything you're
using daily. I see no issues.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 27.07.2013, <09:10>
Sorry for my terrible english...
--
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] 15+ messages in thread
end of thread, other threads:[~2013-08-04 4:56 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-27 3:32 please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion Kenneth Wolcott
2013-07-27 5:20 ` marco atzeri
2013-07-27 5:24 ` Kenneth Wolcott
2013-07-27 6:20 ` LRN
2013-07-27 7:26 ` Andrey Repin
2013-07-27 10:30 ` LRN
2013-07-27 6:29 ` marco atzeri
2013-07-27 7:57 ` Warren Young
[not found] ` <51F9A3BE.4020907@tlinx.org>
2013-08-01 0:28 ` having 1 set of non-bin files w/separate {bin,lib}[32/64)? (was Re: please update the supported Cygwin package list ...) Warren Young
2013-08-03 11:33 ` Linda Walsh
2013-08-03 15:48 ` Earnie Boyd
2013-08-04 2:19 ` Linda Walsh
2013-08-04 3:54 ` Earnie Boyd
2013-08-04 4:56 ` Linda Walsh
2013-07-27 5:28 ` please update the supported Cygwin package list to be distinct for 32-bit, 64-bit or both; and help on how install both in a merged fashion Andrey Repin
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).