Re: Fortran calling c compilation problem

2006-08-02 Thread Ben Wright
> The '-mno-cygwin' flag trigggers the "cross-compiler" to MinGW. If > you're > having problem with this switch, you should check with the MinGW folks > (http://www.mingw.org/), since you're really using their compiler, not > Cygwin's. Will do. Thanks. -- Benjamin Wright Statistical Laboratory

Re: tar does not use --same-owner for SYSTEM user

2006-08-02 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Kevin Till on 8/1/2006 6:58 PM: > Hi, > > I'm running GNU tar 1.5.1 on cygwin version 2.510.2.2 (Window XP). Really? The current version of cygwin is 1.5.21, not 2.510.2.2 (which is the version of setup.exe). And the current version of

[ANNOUNCEMENT] Updated: sed-4.1.5-2

2006-08-02 Thread Corinna Vinschen
I've updated the version of sed to 4.1.5-2. This is a Cygwin specific patch release. It reverts the default behaviour of sed back to treating CR/LF as lineendings, in contrast to 4.1.5-1, which only treated the trailing LF as lineending and the preceeding CR as the last character on the line. Or

RE: Fortran calling c compilation problem

2006-08-02 Thread Dave Korn
On 01 August 2006 15:39, Ben Wright wrote: > g++ -mno-cygwin -Wl,--add-stdcall-alias > -I/cygdrive/c/Java/jdk1.5.0_07/include > -I/cygdrive/c/Java/jdk1.5.0_07/include/win32 -shared -o Samplers.dll whole bunch of source files here> -lstdc++ -lg2c > > /cygdrive/c/DOCUME~1/ben/LOCALS~1/Temp/ccWWbi

Re: Help: gcc problem in Cygwin!

2006-08-02 Thread Larry Hall (Cygwin)
. Reformatted. Frank C. wrote: --- "Larry Hall (Cygwin)" wrote: ^^^ . Thanks. Frank C. wrote: Dear all, I've been trying to install a software on Cygwin under Windows X

Re: Cygwin 1.5.21 execvp fails when Windows PATH has empty element

2006-08-02 Thread Christopher Faylor
On Wed, Aug 02, 2006 at 02:29:19AM -0400, Steven Doerfler wrote: >A Cygwin program run from cmd.exe fails to invoke another Cygwin via the >PATH, when the PATH contains an empty entry. > >Is this a known bug? Thanks in advance for any responses. It's not a known bug but it is now fixed in CVS. T

Re: Help: gcc problem in Cygwin!

2006-08-02 Thread Stein Somers
Frank, you could run make with the -n flag to see what commands it issues (even "hidden" command lines). This generates enormous amounts of output for all commands far beyond the one that is bothering you now, so run for instance: make -n 2>&1 | less If you're lucky, you'll see cygpat

Re: 1.5.20(0.156/4/2) pipe hangs, dos files

2006-08-02 Thread Lev Bishop
On 8/1/06, Darryl Miles wrote: I am still interested in tackling the whole situation but I do need to be furnished with a testcase to work with. I believe the original comeback by the group of users running "unison" should have insisted a testcase was produced by them to demonstrate the new bre

Re: 1.5.20(0.156/4/2) pipe hangs, dos files

2006-08-02 Thread Darryl Miles
Lev Bishop wrote: On 8/1/06, Darryl Miles wrote: I am still interested in tackling the whole situation but I do need to be furnished with a testcase to work with. I believe the original comeback by the group of users running "unison" should have insisted a testcase was produced by them to demo

Re: [ANNOUNCEMENT] Updated: sed-4.1.5-2

2006-08-02 Thread Joachim Achtzehnter
Hi Corinna, You wrote: I've updated the version of sed to 4.1.5-2. It reverts the default behaviour of sed back to treating CR/LF as lineendings, in contrast to 4.1.5-1, which only treated the trailing LF as lineending and the preceeding CR as the last character on the line. Thank you very m

Re: [ANNOUNCEMENT] Updated: sed-4.1.5-2

2006-08-02 Thread Larry Hall (Cygwin)
Joachim Achtzehnter wrote: Hi Corinna, You wrote: I've updated the version of sed to 4.1.5-2. It reverts the default behaviour of sed back to treating CR/LF as lineendings, in contrast to 4.1.5-1, which only treated the trailing LF as lineending and the preceeding CR as the last character on

Re: 1.5.20(0.156/4/2) pipe hangs, dos files

2006-08-02 Thread Brian Ford
On Wed, 2 Aug 2006, Darryl Miles wrote: > The problem at the moment is that Corinna would like someone to explain > how the NtQueryInformationFile() approach is broken (and me for that > matter). Doesn't this explain the problem nicely? http://www.cygwin.com//ml/cygwin-patches/2004-q4/msg00018.h

[OT] RE: 1.5.21: file timestamp not updated after editing

2006-08-02 Thread Dave Korn
On 01 August 2006 00:02, Alex Eng wrote: > On 7/31/06, Corinna Vinschen <[EMAIL PROTECTED]> wrote: Alex? http://cygwin.com/acronyms#PCYMTNQREAIYR please. >> On Jul 30 09:27, Alex Eng wrote: >>> On 7/30/06, Corinna Vinschen <[EMAIL PROTECTED]> wrote: On Jul 29 19:29, Alex Eng wrote: >

RE: Can't find netstat utility

2006-08-02 Thread Dennis Rooks
Thanks to all who responded, it must have been the Windows version I was running all along. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cy

Bug in cygcheck 1.90

2006-08-02 Thread André Bleau
There is a bug in cygcheck 1.90 (included in Cygwin package 1.5.21(0.156/4/2) 2006-07-30): $ uname -a CYGWIN_NT-5.0 ableau 1.5.21(0.156/4/2) 2006-07-30 14:21 i686 Cygwin $ cygcheck -V cygcheck version 1.90 System Checker for Cygwin Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006

Re: 1.5.21-1 DLL Loading Problem

2006-08-02 Thread Rob Hatcherson
All: This is a follow-up to a couple of posts I made 7/25,7/26/2006 regarding DLL loading issues. cygcheck output was attached to the first of my two posts. The cause of the problem in its original incarnation is still undetermined, as it all seems to be happening upstream of main() where t

Behaviour that I don't understand

2006-08-02 Thread Alan Chandler
I am trying to set up rsync as a daemon under WindowsXP (professional) in order to be able to backup this machine on to a linux server. I am struggling with an issue I don't understand. I don't know whether it is an Rsync issue or a Cygwin issue, so I am asking both mailing lists. My WindowsX

NTFS fragmentation

2006-08-02 Thread Vladimir Dergachev
Hi all, I have encountered a rather puzzling fragmentation that occurs when writing files using Cygwin. What happens is that if one creates a new file and writes data to it (whether via a command line redirect or with a Tcl script - have not tried C yet) the file ends up heavil

RE: NTFS fragmentation

2006-08-02 Thread Gary R. Van Sickle
[cc'ing you per your request] > From: Vladimir Dergachev > Sent: Wednesday, August 02, 2006 5:33 PM > Subject: NTFS fragmentation > > > Hi all, > >I have encountered a rather puzzling fragmentation > that occurs when writing files using Cygwin. > >What happens is that if on

Re: NTFS fragmentation

2006-08-02 Thread Larry Hall (Cygwin)
Gary R. Van Sickle wrote: [cc'ing you per your request] From: Vladimir Dergachev Sent: Wednesday, August 02, 2006 5:33 PM Subject: NTFS fragmentation Hi all, I have encountered a rather puzzling fragmentation that occurs when writing files using Cygwin. What happens is tha

Re: NTFS fragmentation

2006-08-02 Thread Vladimir Dergachev
Hi Gary and Larry, Thank you for your comments, replies below: On Wednesday 02 August 2006 7:08 pm, you wrote: > > Any suggestions and comments would be greatly > > appreciated. > > Please CC me - I am not on the list. > > > >thank you very much > > > >

Re: cygwin copy problems usb 2.0

2006-08-02 Thread Reini Urban
Christopher Faylor schrieb: On Thu, Jul 27, 2006 at 11:11:07PM +0200, Corinna Vinschen wrote: On Jul 27 13:48, aldana wrote: isn't there a possibitly that cygwin provides a quicker cp-implementation? i mean 4 minutes for a copy of 70MB to a memstick (instead of CopyFile() 20 sec.) is not reall

Re: 1.5.20(0.156/4/2) pipe hangs, dos files

2006-08-02 Thread Darryl Miles
Brian Ford wrote: On Wed, 2 Aug 2006, Darryl Miles wrote: Doesn't this explain the problem nicely? http://www.cygwin.com//ml/cygwin-patches/2004-q4/msg00018.html Yes that casts light on the problem. Did you get around to trying to reverse the direction of the data flow through the pipe or an

Re: Windows popup/message box?

2006-08-02 Thread Reini Urban
Igor Peshansky schrieb: On Thu, 27 Jul 2006, Richard Foulk wrote: Looking for a simple way to popup a message box on Windows via a Perl script on a system with Cygwin. Looking for portability, light weight, foolproof. The `net send' option doesn't seem very reliable or portable. Hmm, I would

what is the difference of these two compile methods ?

2006-08-02 Thread 勇郝
source file is a very simple cpp file like "hello world" whose name is main.cpp when i compile it with: g++ -o test.exe main.cpp it works fine but when i compile it with: g++ -c -o main.o main.cpp ld -o test.exe main.o it will report "undefined reference" error at step 2, it looks like ld can

Re: NTFS fragmentation

2006-08-02 Thread Larry Hall (Cygwin)
Vladimir Dergachev wrote: Hi Gary and Larry, Thank you for your comments, replies below: On Wednesday 02 August 2006 7:08 pm, you wrote: Any suggestions and comments would be greatly appreciated. Please CC me - I am not on the list. thank you very muc

Re: NTFS fragmentation

2006-08-02 Thread Christopher Faylor
On Wed, Aug 02, 2006 at 09:11:03PM -0400, Larry Hall (Cygwin) wrote: >If you pulled it from Mozilla.org, it ain't Cygwin-based. That would >point to a more general, non-Cygwin problem. Especially since tclsh.exe is just barely a cygwin program and I wouldn't be surprised if it didn't even use Cyg

Re: cygwin copy problems usb 2.0

2006-08-02 Thread Christopher Faylor
On Thu, Aug 03, 2006 at 02:11:00AM +0200, Reini Urban wrote: >Christopher Faylor schrieb: >>On Thu, Jul 27, 2006 at 11:11:07PM +0200, Corinna Vinschen wrote: >>>On Jul 27 13:48, aldana wrote: isn't there a possibitly that cygwin provides a quicker cp-implementation? i mean 4 minutes for a

Re: what is the difference of these two compile methods ?

2006-08-02 Thread Christopher Faylor
On Thu, Aug 03, 2006 at 08:34:46AM +0800, wrote: >source file is a very simple cpp file like "hello world" whose name is >main.cpp >when i compile it with: >g++ -o test.exe main.cpp >it works fine > >but when i compile it with: > g++ -c -o main.o main.cpp > ld -o test.exe main.o >it will rep

Re: NTFS fragmentation

2006-08-02 Thread Larry Hall (Cygwin)
Christopher Faylor wrote: On Wed, Aug 02, 2006 at 09:11:03PM -0400, Larry Hall (Cygwin) wrote: If you pulled it from Mozilla.org, it ain't Cygwin-based. That would point to a more general, non-Cygwin problem. Especially since tclsh.exe is just barely a cygwin program and I wouldn't be surpris

Re: cygwin copy problems usb 2.0

2006-08-02 Thread Eric Blake
> >I'm really seeing the non-optimized cygwin cp behaviour causing bad > >reputation, which could be easily patched and maybe even accepted > >upstream. Who knows. Eric what do think? Would it be worthful to think > >about? I don't really want to maintain a Windows API patch, and doubt that it

Re: Windows popup/message box?

2006-08-02 Thread Igor Peshansky
On Thu, 3 Aug 2006, Reini Urban wrote: > Igor Peshansky schrieb: > > On Thu, 27 Jul 2006, Richard Foulk wrote: > > > Looking for a simple way to popup a message box on Windows via > > > a Perl script on a system with Cygwin. > > [snip] > > Theoretically, it should be as simple as > > > > use W

Re: Windows popup/message box?

2006-08-02 Thread Igor Peshansky
On Wed, 2 Aug 2006, Igor Peshansky wrote: > $ perl -e 'use Win32::GUI qw(MessageBox); MessageBox(0, "message", "title", > 64);' > Can't load '/usr/lib/perl5/site_perl/5.8/cygwin/auto/Win32/GUI/GUI.dll' for > module Win32::GUI: No such file or directory at > /usr/lib/perl5/5.8/cygwin/DynaLoader.

Help with cygports

2006-08-02 Thread Maurício
Hi, Cygports documentation says I should put a copy of setup.hint and README inside CYGWIN-PATCHES directory. Where is that directory supposed to be? Thanks, Maurício -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems

test [DOCUMENTO ERRATO]

2006-08-02 Thread system
Gentile Utente [EMAIL PROTECTED], la avvisiamo che il suo fax verso il numero non é stato inoltrato, in quanto il documento allegato non è di un tipo riconosciuto. Il file che ha generato queto errore è: file.cmd Le ricordiamo che con [EMAIL PROTECTED] è possibile inviare testi, documenti Word

Re: Behaviour that I don't understand

2006-08-02 Thread Alan Chandler
On Wednesday 02 August 2006 23:28, Alan Chandler wrote: > I am trying to set up rsync as a daemon under WindowsXP (professional) in > order to be able to backup this machine on to a linux server. I am > struggling with an issue I don't understand. I don't know whether it is an > Rsync issue or a