Re: Calling Cygwin to start a shellscript

2009-05-16 Thread Alexey Borzenkov
On Sat, May 16, 2009 at 2:51 AM, Brian Mathis wrote: > What I have done is associate files with a .sh extension to run the > bash.exe file.  Works for me, but I'm not sure if it pulls in all the > environment variables - but I don't need them. If you ever need those environment variables, take a

Re: managing autoconf versions?

2009-05-16 Thread Spiro Trikaliotis
Hello Jay, * On Sat, May 16, 2009 at 06:00:30AM + Jay wrote: > How do people manage autoconf/automake versions? [...] > Rather I'm wondering about submitting patches to other projects, Just make sure you do not include generated files in your patch, and you should be fine. Having the gene

Re: Cygwin 1.7, Win 2008 and rebase

2009-05-16 Thread Darren Syzling
2009/5/14 Lenik : > On 2009-5-14 8:13, Lenik wrote: >> > and you may try different values for base/offset, using a larger value > instead of 0x10, that's how I resolved the cpan's problem. > Thanks for your help - I'll play around and see if I can get any of these options to work. Darren --

Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Eli Zaretskii
> Date: Fri, 15 May 2009 09:29:37 -0400 > From: Ken Brown > CC: cygwin at cygwin dot com > > (concat ".newmail-" > (file-name-nondirectory >(if (memq system-type '(windows-nt cygwin ms-dos)) >;; cannot have colons in file name >(replace-r

Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod
Eli Zaretskii wrote: > > ...if Emacs could know the Cygwin version. > uname -r this gives on 2 installations e.g.: 1.5.25(0.156/4/2) 1.7.0(0.210/5/3) $ ./uname -s CYGWIN_NT-6.0 Marc -- View this message in context: http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-

Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod
I just noticed that my /usr/share/info/dir file was reduced to a bare minimum: 2 lines for libc and libm... I had just updated 1.7 to the latest... My setup.log.full has indeed: unlink C:\cygwin2/usr/share/info/dir unlink C:\cygwin2/usr/share/info/libc.info unlink C:\cygwin2/usr/share/info/libm.

Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Marc Girod
Marc Girod wrote: > > uname -r > Er... maybe you would object that this is part of coreutils, and thus not necessarily of every cygwin installation... Marc -- View this message in context: http://www.nabble.com/Re%3A--1.7--Updated%3A-%7Bemacs%2Cemacs-X11%2Cemacs-el%7D-23.0.92-1-tp23559935p23

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-48

2009-05-16 Thread Marc Girod
Corinna Vinschen-2 wrote: > > Just download http://cygwin.com/setup-1.7.exe and use that setup tool > to install Cygwin 1.7. > I understand that at least on Vista, following the installation, I need to run: ./rebaseall in an ash Window (from the C:/cygwin2 tree set apart for 1.7, of course)

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-48

2009-05-16 Thread Marc Girod
Sorry, I forgot to mention that my first launch (rebaseall, but no peflagsall) gave an error: 4 [main] expr 5432 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) /usr/bin/startx: line 40: 5432 Segmentation fault (core dumped) expr "$1": ':[0-9][0-9]*$'

Re: managing autoconf versions?

2009-05-16 Thread Dave Korn
Jay wrote: > This is a little off topic. > > How do people manage autoconf/automake versions? > GCC/binutils require specialised versions, and I keep them in a separate prefix, thanks to Chuck's gcc-tools-* packages, and add them to the front of $PATH when needed. For all other stuff, the a

Re: Windows Share Folder Problem

2009-05-16 Thread Neeraj Sahu
Hi, Thanks for the reply !!!. Now, I can access the windows sharable folder using this command: "net use Z: vm-webin\\d$ my_password /user:myself" "cd /cygdrive/z" But this command is also available in Dos. So I can do the same thing using dos also. But in my cygwin presentation I want to s

Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Marc Girod on 5/16/2009 4:17 AM: > > Marc Girod wrote: >> uname -r >> this gives on 2 installations e.g.: >> >> 1.5.25(0.156/4/2) >> 1.7.0(0.210/5/3) >> >> $ ./uname -s >> CYGWIN_NT-6.0 > uname -s is wrong (you will get the same answe

Re: libtool, how should the version be parsed?

2009-05-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to René Berber on 5/15/2009 10:16 PM: > $ libtoolize --version | sed 's/^[^0-9]*\([0-9].[0-9.]*\).*/\1/' > 1.3081 > 2003 > > 2009 > ... > > Weird, its looking for the first number, must be as confused as I am, So that should be reported as

Re: Calling Cygwin to start a shellscript

2009-05-16 Thread Thorsten Kampe
* Thomas Wiedmann (Fri, 15 May 2009 23:35:18 +0200) > How can a shellscript be called from the Windows cmd console using > Cygwin, i. e. by which command, options and arguments has Cygwin to be > called to run a shellscript, e. g. myscript.sh? Your question is really not Cygwin specific. Anyway: t

[1.7] wprintf is broken?

2009-05-16 Thread IWAMURO Motonori
Hi. wprintf is broken? I compile & run the following source: #include #include #include int main(void) { setlocale(LC_ALL, "en_US.UTF-8"); wprintf(L"%ls\n", L"Test\n"); printf("Test\n"); return 0; } Result text: http://vmi.jp/tmp/wprintf-is-broken.txt -- IWAMURO Motnori

Re: [ANNOUNCEMENT] [1.7] Updated: cygwin-1.7.0-48

2009-05-16 Thread Marc Girod
Marc Girod wrote: > > I tried to read the threads, but didn't quite understand everything... > One thing I didn't understand for instance, is why isn't it possible to run these tools in the post-install phase. Thanks, Marc -- View this message in context: http://www.nabble.com/-ANNOUNCEMENT--

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-16 Thread Corinna Vinschen
On May 16 13:17, Lenik wrote: > (This mail is encoded in utf-8) > > After tested with 1.7.0-48, many problems are eliminated. > > But cygpath doesn't return good pathnames, see: Looks like cygpath gets the wcstombs system call from ntdll rather than from cygwin1.dll due to a linking order problem.

Re: [1.7] wprintf is broken?

2009-05-16 Thread Corinna Vinschen
On May 16 23:56, IWAMURO Motonori wrote: > Hi. > > wprintf is broken? > > I compile & run the following source: > > #include > #include > #include > int main(void) { > setlocale(LC_ALL, "en_US.UTF-8"); > wprintf(L"%ls\n", L"Test\n"); > printf("Test\n"); > return 0; > } > > Result tex

Re: Python enabled GDB (Archer) -Help

2009-05-16 Thread Sreejith
2009/5/16 Sreejith > > Hi, >   I could successfully install gdb-archer in cygwin as explained in > link: http://tromey.com/blog/?p=494 , but not able to inspect STL container > object. It looks like the python scripting is not enabled in newly installed > gdb. The following log explains

BUG: libioperm + libtool + libpopt

2009-05-16 Thread Duane Ellis
I'm only reporting an issue, I don't have a solution other then the 'hatchet' job workaround. I just installed cygwin +3 days ago, using what ever is the latest version of what ever on a freshly minted winXP machine. A package I am using links using "libtool" - which uses and finds: /usr/

Re: BUG: libioperm + libtool + libpopt

2009-05-16 Thread Dave Korn
Duane Ellis wrote: > yet, there is no 'libpopt' I can find to link against. Let me introduce you: http://cygwin.com/packages/ Duane, this is the cygwin website package-search page. Cygwin website package-search page, this is Duane. He wants to ask you a question about where to find libpop

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-16 Thread Lenik
On 2009-5-16 23:49, Corinna Vinschen wrote: Looks like cygpath gets the wcstombs system call from ntdll rather than from cygwin1.dll due to a linking order problem. Unfortunately ntdll exports a couple of convenient C functions like wcstombs, or even sprintf. I applied a patch so the next versi

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-16 Thread IWAMURO Motonori
2009/5/17 Lenik : > Thanks, but where can I get this patch? You can checkout it from CVS HEAD. -- IWAMURO Motnori -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/do

Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Eli Zaretskii
> Date: Sat, 16 May 2009 02:52:22 -0700 (PDT) > From: Marc Girod > > Eli Zaretskii wrote: > > > > ...if Emacs could know the Cygwin version. > > > uname -r > > this gives on 2 installations e.g.: > > 1.5.25(0.156/4/2) > 1.7.0(0.210/5/3) > > $ ./uname -s > CYGWIN_NT-6.0 I meant an Emacs func

Re: [1.7] Updated: {emacs,emacs-X11,emacs-el}-23.0.92-1

2009-05-16 Thread Christopher Faylor
On Sun, May 17, 2009 at 06:12:04AM +0300, Eli Zaretskii wrote: >> Date: Sat, 16 May 2009 02:52:22 -0700 (PDT) >> From: Marc Girod >> >> Eli Zaretskii wrote: >> > >> > ...if Emacs could know the Cygwin version. >> > >> uname -r >> >> this gives on 2 installations e.g.: >> >> 1.5.25(0.156/4/2)