Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Алексей Павлов
2013/6/19 Christopher Faylor wrote: > On Tue, Jun 18, 2013 at 04:04:06PM -0600, Warren Young wrote: >>On 6/18/2013 13:30, ??? ?? wrote: >>> 2013/6/18 Warren Young : On 6/18/2013 12:40, ??? ?? wrote: > > 1. The correct definition of executables belonging to Cygwin DLL. >

RE: UNC and POSIX paths

2013-06-18 Thread Fedin Pavel
Hello! > > If we do consider this, I think we should take a step back and think > > about revamping path handling to allow hooks for things like /dev, > > /proc, /cygdrive rather than having to special case them. > > SHTDI, as you said... But it'd be interesting advancement in /etc/fstab > evolu

Re: gcc4.7.2 cc1 error while loading shared libraries

2013-06-18 Thread Arthur Tu
Thanks On 6/19/2013 2:01 PM, Yaakov (Cygwin/X) wrote: On 2013-06-19 00:40, Arthur Tu wrote: $ gcc-4 --version gcc-4 (GCC) 4.7.2 $ gcc-4 helloWorld.c /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory F

Re: gcc4.7.2 cc1 error while loading shared libraries

2013-06-18 Thread Yaakov (Cygwin/X)
On 2013-06-19 00:40, Arthur Tu wrote: $ gcc-4 --version gcc-4 (GCC) 4.7.2 $ gcc-4 helloWorld.c /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory For now, this version of gcc requires test versions of mo

Re: gcc4.7.2 cc1 error while loading shared libraries

2013-06-18 Thread Arthur Tu
I found this http://cygwin.com/ml/cygwin/2010-10/msg00063.html. And call cc1.exe from windows native console. It reported that cygwin1.dll is missing. However, cygwin1.dll do exist in /bin/, and $CYGWIN/bin/ is in my windows path. On 6/19/2013 1:40 PM, Arthur Tu wrote: $ gcc-4 --version gcc

gcc4.7.2 cc1 error while loading shared libraries

2013-06-18 Thread Arthur Tu
$ gcc-4 --version gcc-4 (GCC) 4.7.2 $ gcc-3 --version gcc-3 (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) $ gcc-4 helloWorld.c /usr/lib/gcc/i686-pc-cygwin/4.7.2/cc1.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory $ gcc-3 hello

Re: Cross-compiling Linux kernel

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 07:05:56PM -0400, Larry Hall (Cygwin) wrote: >On 6/18/2013 2:23 PM, Christopher Faylor wrote: >> On Tue, Jun 18, 2013 at 01:07:56PM -0500, Ren? Berber wrote: >>> On 6/18/2013 9:37 AM, Christopher Faylor wrote: >>> > There was a project out there many years ago which did

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 05:29:04PM -0400, Charles Wilson wrote: >However, discussing "not-cygwin" on the cygwin list(s) is A Bad Idea, so >you should go "over there" and talk it out with those guys. Let me state it again: Corinna and I have been having private discussion about this and are open t

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 03:24:52PM -0600, Warren Young wrote: >On 6/18/2013 13:31, Christopher Faylor wrote: >> On Tue, Jun 18, 2013 at 01:10:06PM -0600, Warren Young wrote: 3. In MSYS mode Cygwin need to be very portable >>> >>> It would indeed be nice to have a portable Cygwin. That is, one

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 04:04:06PM -0600, Warren Young wrote: >On 6/18/2013 13:30, ??? ?? wrote: >> 2013/6/18 Warren Young : >>> On 6/18/2013 12:40, ??? ?? wrote: 1. The correct definition of executables belonging to Cygwin DLL. >>> >>> Can you give an example of what you

Re: X11 forwarding request failed on channel 0

2013-06-18 Thread Andrew DeFaria
On 06/18/2013 04:01 PM, Jon TURNEY wrote: On 18/06/2013 17:23, Andrew DeFaria wrote: Lately I noticed the following error when attempting to ssh from my Ubuntu Not sure if "lately" means you haven't changed anything, but it didn't report this error before, or you've only recently started paying

Re: Updating Git

2013-06-18 Thread Yaakov (Cygwin/X)
On 2013-06-18 08:11, Adam Dinwoodie wrote: Would it be possible for the Git maintainer to update Git to a more recent version than 1.7.9, which was released almost 18 months ago? Git is now on v1.8.3.1. FWIW, I have been using 1.8 versions for a little while without incident. Alternatively,

Re: subversion 1.7.10-1 failure: CRYPTO_memcmp entry point not found in cygcrypto-1.0.0.dll

2013-06-18 Thread Yaakov (Cygwin/X)
On 2013-06-18 12:05, Pascal Dupuis wrote: OK, found the culprit. It seems some update process went wrong, and there were a few files under /usr/bin with name like f.i. libz.dll.new. I made a script to rename file.dll.new into file.dll ... and found myself into more troubles, because sometimes th

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Warren Young
On 6/18/2013 16:04, Warren Young wrote: You're proposing some kind of global search-and-replace operation, which will inevitably turn into a Whac-a-Mole game. I just thought of an example. How many POSIX paths are in this perfectly legal command, which invokes a native Windows executable?

Re: Cross-compiling Linux kernel

2013-06-18 Thread Dan Kegel
On Tue, Jun 18, 2013 at 11:07 AM, René Berber wrote: > Here's another: http://atratus.org/ Aha. That's by Mike McCormack, a Codeweavers/Wine alum, who also did http://ring3k.org/ I wonder how far atratus is from running wine. At which point one could try running cygwin on wine on atratus on win

Re: Cross-compiling Linux kernel

2013-06-18 Thread Larry Hall (Cygwin)
On 6/18/2013 2:23 PM, Christopher Faylor wrote: On Tue, Jun 18, 2013 at 01:07:56PM -0500, Ren? Berber wrote: On 6/18/2013 9:37 AM, Christopher Faylor wrote: There was a project out there many years ago which did this. You could run simple linux binaries on Windows. I offered to host the deve

Re: X11 forwarding request failed on channel 0

2013-06-18 Thread Jon TURNEY
On 18/06/2013 17:23, Andrew DeFaria wrote: > Lately I noticed the following error when attempting to ssh from my Ubuntu Not sure if "lately" means you haven't changed anything, but it didn't report this error before, or you've only recently started paying attention :D > (13.04) systems to my Cygw

Re: UNC and POSIX paths

2013-06-18 Thread Andrey Repin
Greetings, Christopher Faylor! > And, it nontrivially complicates path handling since we'd have to make > decisions about whether to honor // or not. That's an easy decision: "//" should remain as Cygwin/POSIX equivalent of "\\" AKA UNC path access. If anyone want to argument against it with brok

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Warren Young
On 6/18/2013 16:04, Warren Young wrote: $ cd /bin $ mv ln.exe sane-ln.exe $ ln -s cp.exe ln.exe Of course, that final step should be $ cp cp.exe ln.exe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Warren Young
On 6/18/2013 13:30, Алексей Павлов wrote: 2013/6/18 Warren Young : On 6/18/2013 12:40, Алексей Павлов wrote: 1. The correct definition of executables belonging to Cygwin DLL. Can you give an example of what you mean here? All cygwin applications depends on cygwin1.dll. We need to translate

Re: git svn fork() problems on cygwin 1.7.20

2013-06-18 Thread Larry Hall (Cygwin)
On 6/18/2013 3:28 AM, Mikko Rapeli wrote: Missing file: /usr/lib/perl5/5.14/i686-cygwin-threads-64int/CORE/cygperl5_14_2.dll from package perl perl 5.14.2-3 Incomplete Maybe reinstalling the perl package will help? -- Larry ___

RE: Setup.exe won't run from Bash on Windows 8

2013-06-18 Thread Buchbinder, Barry (NIH/NIAID) [E]
Yaakov (Cygwin/X) sent the following at Monday, June 17, 2013 7:17 PM >On 2013-06-17 18:13, Chloe wrote: >> But it will run if I double click it from Explorer. I have >> execute permissions. What is wrong? > >Due to UAC Installer Detection, setup.exe requires Admin permissions >in order to run, b

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Charles Wilson
On 6/18/2013 2:40 PM, Алексей Павлов wrote: I want to add MSYS functionality to Cygwin. More than 10 years ago Cygwin 1.3 had forked to MSYS. But now this MSYS is very old and don't has any support for it. ... I want to hear your opinions about how it can be implemented in Cygwin codebase. G

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Warren Young
On 6/18/2013 13:31, Christopher Faylor wrote: On Tue, Jun 18, 2013 at 01:10:06PM -0600, Warren Young wrote: 3. In MSYS mode Cygwin need to be very portable It would indeed be nice to have a portable Cygwin. That is, one that could be run from a copied directory or USB key, without being forma

Re: git svn fork() problems on cygwin 1.7.20

2013-06-18 Thread Charles Wilson
On 6/17/2013 10:45 AM, Mikko Rapeli wrote: On Mon, Jun 17, 2013 at 05:00:47PM +0300, Mikko Rapeli wrote: Has anyone else seen these when using git svn or other perl programs on cygwin 1.7.20? $ git svn rebase ... 0 [main] perl 4424 child_info_fork::abort: address space needed by '_Cli

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Christopher Faylor
[I'm being a reluctant explicator here] On Tue, Jun 18, 2013 at 01:10:06PM -0600, Warren Young wrote: >On 6/18/2013 12:40, ?? wrote: >> >> 1. The correct definition of executables belonging to Cygwin DLL. > >Can you give an example of what you mean here? > >This must be so

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Алексей Павлов
2013/6/18 Warren Young : > On 6/18/2013 12:40, Алексей Павлов wrote: >> >> >> 1. The correct definition of executables belonging to Cygwin DLL. > > > Can you give an example of what you mean here? > All cygwin applications depends on cygwin1.dll. We need to translate arguments only for non-cygwin a

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Warren Young
On 6/18/2013 12:40, Алексей Павлов wrote: 1. The correct definition of executables belonging to Cygwin DLL. Can you give an example of what you mean here? This must be some kind of translation error, since executables never belong to DLLs. The reverse is sometimes true, but mostly not. 2

Re: Adding MSYS functionality to Cygwin

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 10:40:36PM +0400, ??? ?? wrote: >Hi everybody! > >I want to add MSYS functionality to Cygwin. >More than 10 years ago Cygwin 1.3 had forked to MSYS. But now this >MSYS is very old and don't has any support for it. >Primary goal of MSYS is to provide environment with

Adding MSYS functionality to Cygwin

2013-06-18 Thread Алексей Павлов
Hi everybody! I want to add MSYS functionality to Cygwin. More than 10 years ago Cygwin 1.3 had forked to MSYS. But now this MSYS is very old and don't has any support for it. Primary goal of MSYS is to provide environment with GNU utilities for building application using native Mingw compilers. T

Re: Cross-compiling Linux kernel

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 01:07:56PM -0500, Ren? Berber wrote: >On 6/18/2013 9:37 AM, Christopher Faylor wrote: > >>> There was a project out there many years ago which did this. You could >>> run simple linux binaries on Windows. I offered to host the development >>> on sourceware.org (aka cygwin.

Re: Cross-compiling Linux kernel

2013-06-18 Thread René Berber
On 6/18/2013 9:37 AM, Christopher Faylor wrote: There was a project out there many years ago which did this. You could run simple linux binaries on Windows. I offered to host the development on sourceware.org (aka cygwin.com) but, IIRC, the developer never responded. I don't remember what the

RE: What is a good profiling tool ? - problem with gprof

2013-06-18 Thread J . B . W . Webber
-Original Message- Subject: Re: What is a good profiling tool ? - problem with gprof On Jun 18 16:28, J.B.W.Webber wrote: > -Original Message- > Subject: Re: What is a good profiling tool ? - problem with gprof > > Ariel Burbaickij wrote: > > Uhm, may I ask for some pointers to

Re: What is a good profiling tool ? - problem with gprof

2013-06-18 Thread Corinna Vinschen
On Jun 18 16:28, J.B.W.Webber wrote: > -Original Message- > Subject: Re: What is a good profiling tool ? - problem with gprof > > Ariel Burbaickij wrote: > > Uhm, may I ask for some pointers to Altera/Stawberry cygwins -- what is it? > > Does it have something to do with > http://en.wik

Re: subversion 1.7.10-1 failure: CRYPTO_memcmp entry point not found in cygcrypto-1.0.0.dll

2013-06-18 Thread Pascal Dupuis
OK, found the culprit. It seems some update process went wrong, and there were a few files under /usr/bin with name like f.i. libz.dll.new. I made a script to rename file.dll.new into file.dll ... and found myself into more troubles, because sometimes the file.dll was newer than the file.dll.new !

Re: subversion 1.7.10-1 failure: CRYPTO_memcmp entry point not found in cygcrypto-1.0.0.dll

2013-06-18 Thread David Rothenberger
On 6/18/2013 3:25 AM, Pascal Dupuis wrote: > I produced a complete cygcheck output, the entry about cygcrypto-1.0.0.dll is > 1516k 2012/09/01 C:\cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0 > "cygcrypto-1.0.0.dll" v0.0 ts=2012-09-01 11:06 That DLL is out-of-date. Here

RE: What is a good profiling tool ? - problem with gprof

2013-06-18 Thread J . B . W . Webber
-Original Message- Subject: Re: What is a good profiling tool ? - problem with gprof Ariel Burbaickij wrote: > Uhm, may I ask for some pointers to Altera/Stawberry cygwins -- what is it? Does it have something to do with http://en.wikipedia.org/wiki/Strawberry_Perl ? Hi Ariel, Altera p

X11 forwarding request failed on channel 0

2013-06-18 Thread Andrew DeFaria
Lately I noticed the following error when attempting to ssh from my Ubuntu (13.04) systems to my Cygwin system with X11 Forwarding turned on: X11 forwarding request failed on channel 0 Any idea of how I can fix this? Not sure if this is a Cygwin issue (but it does involve ssh) or a Cygwin/X i

Re: What is a good profiling tool ? - problem with gprof

2013-06-18 Thread Dan Kegel
Ariel Burbaickij wrote: > Uhm, may I ask for some pointers to Altera/Stawberry cygwins -- what is it? Does it have something to do with http://en.wikipedia.org/wiki/Strawberry_Perl ? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documenta

Re: What is a good profiling tool ? - problem with gprof

2013-06-18 Thread Ariel Burbaickij
Uhm, may I ask for some pointers to Altera/Stawberry cygwins -- what is it? On Tue, Jun 18, 2013 at 4:06 PM, J.B.W.Webber wrote: > > > -Original Message- > Subject: Re: What is a good profiling tool ? - problem with gprof > > On Jun 18 12:11, Corinna Vinschen wrote: >> On Jun 17 12:52, L

Re: UNC and POSIX paths

2013-06-18 Thread Corinna Vinschen
On Jun 18 11:05, Earnie Boyd wrote: > On Tue, Jun 18, 2013 at 10:36 AM, Christopher Faylor wrote: > > > > And, it nontrivially complicates path handling since we'd have to make > > decisions about whether to honor // or not. > > > > I'd suggest using /// for UNC, dropping exactly one / if FILEPATH

Re: UNC and POSIX paths

2013-06-18 Thread Earnie Boyd
On Tue, Jun 18, 2013 at 10:36 AM, Christopher Faylor wrote: > > And, it nontrivially complicates path handling since we'd have to make > decisions about whether to honor // or not. > I'd suggest using /// for UNC, dropping exactly one / if FILEPATH[0] and FILEPATH[1] is equal to /. -- Earnie --

Re: Cross-compiling Linux kernel

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 10:33:08AM -0400, Christopher Faylor wrote: >On Tue, Jun 18, 2013 at 12:17:06PM +0200, Corinna Vinschen wrote: >>On Jun 18 10:56, Fedin Pavel wrote: >>> [...] >>> P.S. I have got even more crazy idea, perhaps deserving a separate topic... >>> BSD systems have Linux binary c

Re: UNC and POSIX paths

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 10:30:09AM -0400, Christopher Faylor wrote: >On Tue, Jun 18, 2013 at 12:26:32PM +0200, Corinna Vinschen wrote: >>On Jun 17 22:47, g...@malth.us wrote: >>> On Mon, 17 Jun 2013, at 21:42, Christopher Faylor thusly quipped: >>> >>> > On Mon, Jun 17, 2013 at 07:18:12PM -0700, g

Re: Cross-compiling Linux kernel

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 12:17:06PM +0200, Corinna Vinschen wrote: >On Jun 18 10:56, Fedin Pavel wrote: >> [...] >> P.S. I have got even more crazy idea, perhaps deserving a separate topic... >> BSD systems have Linux binary compatibility layer. Could we have one ? >> Technically this depends on ab

Re: UNC and POSIX paths

2013-06-18 Thread Christopher Faylor
On Tue, Jun 18, 2013 at 12:26:32PM +0200, Corinna Vinschen wrote: >On Jun 17 22:47, g...@malth.us wrote: >> On Mon, 17 Jun 2013, at 21:42, Christopher Faylor thusly quipped: >> >> > On Mon, Jun 17, 2013 at 07:18:12PM -0700, g...@malth.us wrote: >> >> BTW, along the same lines, I stated previously

Error: console device allocation failure - too many consoles in use, max consoles is 32

2013-06-18 Thread Comerma Pare, Antoni
Hi, We are experiencing an strange problem using cygwin in Windows 2008R2. = We are unable to open more than 32 bash windows. When we try, we receive the following message C:\cygwin>Cygwin.bat 0 [main] bash 8968 C:\cygwin\bin\bash.exe: *** fatal error - = console device allocation failure - too

RE: What is a good profiling tool ? - problem with gprof

2013-06-18 Thread J . B . W . Webber
-Original Message- Subject: Re: What is a good profiling tool ? - problem with gprof On Jun 18 12:11, Corinna Vinschen wrote: > On Jun 17 12:52, Larry Hall (Cygwin) wrote: > > On 6/17/2013 12:19 PM, J.B.W.Webber wrote: > > >Hi, I am trying to find in which function call the most time is

Updating Git

2013-06-18 Thread Adam Dinwoodie
Would it be possible for the Git maintainer to update Git to a more recent version than 1.7.9, which was released almost 18 months ago? Git is now on v1.8.3.1. Alternatively, I'd be willing to take over the maintainership, although there may be initial teething difficulties as I've only just mana

Re: Cross-compiling Linux kernel

2013-06-18 Thread Corinna Vinschen
On Jun 18 16:06, Fedin Pavel wrote: > Hello! > > While waiting for the Big Thing to finish compiling, another crazy idea > visited my damaged brain. ;-) I wonder if it has some practical value... > > > That's not quite correct. The problem is not utilizing the native NT > > functions to creat

RE: Cross-compiling Linux kernel

2013-06-18 Thread Fedin Pavel
Hello! While waiting for the Big Thing to finish compiling, another crazy idea visited my damaged brain. ;-) I wonder if it has some practical value... > That's not quite correct. The problem is not utilizing the native NT > functions to create a process image, the problem is that the Win32 >

Re: vim-minimal annoyance

2013-06-18 Thread Frank Fesevur
2013/6/18 Csaba Raduly: >> If I have the full-featured vim installed, then I expect vi == >> full_featured_vim. This is how it has always been. >> >> I guess I'll just have to resign myself to creating an alias (vi=vim) on >> every install... > > Maybe there should be a "vi-as-vim" package which co

RE: Cross-compiling Linux kernel

2013-06-18 Thread Fedin Pavel
Hello! > > P.P.S. Perhaps the answer to (*) is NO, otherwise we would have fast > > fork()... > > That's not quite correct. The problem is not utilizing the native NT > functions to create a process image, Wow, interesting... I wonder if i could get a ELF with some plain hardcoded Windows s

Re: What is a good profiling tool ? - problem with gprof

2013-06-18 Thread Corinna Vinschen
On Jun 18 12:11, Corinna Vinschen wrote: > On Jun 17 12:52, Larry Hall (Cygwin) wrote: > > On 6/17/2013 12:19 PM, J.B.W.Webber wrote: > > >Hi, I am trying to find in which function call the most time is being > > >spent. > > > > > >I am using gcc and trying to compile and link with -g and -pg. > >

[ANNOUNCEMENT] Updated: hexedit-1.2.13-1

2013-06-18 Thread Chris Sutcliffe
A new release of hexedit, 1.2.13-1, is now available. hexedit shows a file both in ASCII and in hexadecimal. The file can be a device as the file is read a piece at a time. You can modify the file and search through it. For a list of changes see below. To update your installation, click on the

Re: UNC and POSIX paths

2013-06-18 Thread Corinna Vinschen
On Jun 17 22:47, g...@malth.us wrote: > On Mon, 17 Jun 2013, at 21:42, Christopher Faylor thusly quipped: > > > On Mon, Jun 17, 2013 at 07:18:12PM -0700, g...@malth.us wrote: > >> BTW, along the same lines, I stated previously it would break > >> http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=

Re: Cross-compiling Linux kernel

2013-06-18 Thread Corinna Vinschen
On Jun 18 10:56, Fedin Pavel wrote: > [...] > P.S. I have got even more crazy idea, perhaps deserving a separate topic... > BSD systems have Linux binary compatibility layer. Could we have one ? > Technically this depends on ability to construct process image manually in > Windows (*). Is it possi

Re: What is a good profiling tool ? - problem with gprof

2013-06-18 Thread Corinna Vinschen
On Jun 17 12:52, Larry Hall (Cygwin) wrote: > On 6/17/2013 12:19 PM, J.B.W.Webber wrote: > >Hi, I am trying to find in which function call the most time is being spent. > > > >I am using gcc and trying to compile and link with -g and -pg. > >i.e. for a trivial test : > > > >$ cat helloworld.c > >/*

Re: git svn fork() problems on cygwin 1.7.20

2013-06-18 Thread Mikko Rapeli
(sorry, not subscribed so reply might be a bit off) I found only one cygwin1.dll on the system. Did a rebaseall but problem stays. Problem reproduces also when PATH=/bin so I guess this is something else. bash, git etc binaries work well and only git svn has this issue. Cygwin Configuration Diagn

Re: vim-minimal annoyance

2013-06-18 Thread Csaba Raduly
On Tue, Jun 18, 2013 at 2:54 AM, Shaun Fielder wrote: >> As Larry stated, the latest release of vim-minimal uses virc instead of > vimrc (as done on Fedora), so this should no longer be an issue. > > Sure, now if I upgrade an existing installation and then type 'vi' - I won't > see any errors. Gre