How to Build DLLs on Cygwin

2005-01-18 Thread Xuan Bai
Hello, my dear friend, I want to build some DLLs on Cygwin. I got to know how to build DLLs from one single source codes file with gcc -shared -o .. However, the DLL I am planning to develop need to be built from several source code files. Is there anywat I can build DLL by passing flags th

Re: Permission denied on Windows XP

2005-01-18 Thread Larry Hall
At 12:39 AM 1/18/2005, you wrote: >I suffer from 'permission denied' problem on my note-pc (Windows XP) > >After running big script (recursive make script), I have met 'resource >unavailable' message. >And then I can't execute any bash command because of 'permission denied' >message. > >I installe

Re: FileRunner under cygwin - simple compilation fails.

2005-01-18 Thread Igor Pechtchanski
On Wed, 19 Jan 2005, CV wrote: > Igor Pechtchanski cs.nyu.edu> writes: > > > Did you check whether tcl.h gets included? If it is, it could be a bug in > > ext.c. > > I ran gcc -E as you suggested but was not sure how to interpret > the results. Looking at it a bit more closely I think it is clea

looking for shell program to retrieve property info from windows files

2005-01-18 Thread Jaye Speaks
does anyone know of a shell program to retrieve the property info from windows files. I need info like the fileversion or prodversion. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.

Re: FileRunner under cygwin - simple compilation fails.

2005-01-18 Thread CV
Igor Pechtchanski cs.nyu.edu> writes: > Did you check whether tcl.h gets included? If it is, it could be a bug in > ext.c. I ran gcc -E as you suggested but was not sure how to interpret the results. Looking at it a bit more closely I think it is clear that tcl.h _does_ get included: After run

Re: Source code for "cp" Command

2005-01-18 Thread Brian Dessent
"Waters, Bill" wrote: > I want to get source code for "cp" (the command line copy function). Do I > need to go through CVS for this? (http://cygwin.com/cvs.html) I didn't want > to install CVS if I don't have to. The cp command is part of the coreutils package. Get the coreutils source pack

Re: How do I get an old version of cygwin?

2005-01-18 Thread Steve Munson
James M. Rogers wrote: > So, what I need is to install the exact DLL and build tools, all at the > same time onto a box. I am willing to do a checkout and build from CVS > if pointed to the directions on how to do this. I happen to have the package files for cygwin 1.5.4 and associated build too

1.5.12: find with -iregex is case-sensitive

2005-01-18 Thread johnwrussell
Even with the -iregex option, the find command performs case-sensitive matching. Test procedure: $ mkdir test $ touch test/file-a $ touch test/File-b $ find test | grep -i ".*file.*" test/file-a test/File-b $ find test -iregex ".*file.*" test/file-a $ find test -iregex ".*File.*" test/File-b

Re: Fw: bug in texi2dvi, and hack patch

2005-01-18 Thread Eli Zaretskii
> Date: Tue, 18 Jan 2005 06:29:08 -0700 > From: Eric Blake <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], cygwin@cygwin.com > > This was sent to a cygwin list, but is more properly a texinfo problem in > the texi2dvi script (version 4.7). $COMSPEC has meaning in djgpp and > perhaps mingw, but is ju

Re: FileRunner under cygwin - simple compilation fails.

2005-01-18 Thread Mark Bohlman
Igor Pechtchanski wrote: On Tue, 18 Jan 2005, CV wrote: Thanks for your help Igor. Actually I found the answer by googling for "___RUNTIME_PSEUDO_RELOC_LIST__". Someone had that problem fixed by upgrading to the latest binutils. Ah, right, that would do it. Strangely enough, Googling for partial

python mysql

2005-01-18 Thread * Joseph Desire Stefan
hi, i'm trying to get a python program running under cygwin, that reads from a mysql db. problem is, it won't compile, gcc stops with something like 'undefined reference to _mysql_errno" has anybody had success in doing this? according to google, this seems to be a *very* rare problem (only one pos

Source code for "cp" Command

2005-01-18 Thread Waters, Bill
I want to get source code for "cp" (the command line copy function).  Do I need to go through CVS for this?  (http://cygwin.com/cvs.html)  I didn't want to install CVS if I don't have to.   Will the executable created from the source for "cp" run standalone?  Or is it dependant on some of the dl

RE: FW: intr (ctl c) nohup and other stuff

2005-01-18 Thread Eden, Edward - St. Louis, MO
I noticed that thread. I replaced the nohup.exe with the old script and still the same thing happened. -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 9:26 AM To: Eden, Edward - St. Louis, MO Cc: cygwin@cygwin.com Subject: Re: FW: int

RE: ShellExecute from bash

2005-01-18 Thread Robb, Sam
> Is there a way to launch the default woe32 application for a file from > bash? > > e.g., something like this: > > $ ShellExecute foo.html > > should launch FF just like double click on foo.html in explorer does. > > thanks! cygstart foo.html -Samrobb -- Unsubscribe info: http://cygwin

ShellExecute from bash

2005-01-18 Thread Sam Steingold
Is there a way to launch the default woe32 application for a file from bash? e.g., something like this: $ ShellExecute foo.html should launch FF just like double click on foo.html in explorer does. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k

Re: FileRunner under cygwin - simple compilation fails.

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, CV wrote: > Thanks for your help Igor. > > Actually I found the answer by googling for > "___RUNTIME_PSEUDO_RELOC_LIST__". Someone had that problem fixed by > upgrading to the latest binutils. Ah, right, that would do it. Strangely enough, Googling for partial string ("RUNTI

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, Aitken, Sean wrote: > > On Jan 18 10:01, Igor Pechtchanski wrote: > > > Ugh, top-posting... Also, . > > > Thanks. > > > > What about adding the "TOFU" acronym for these purposes? Otherwise > > you're missing to critizise the fullquo

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, Dave Korn wrote: > > -Original Message- > > From: cygwin-owner On Behalf Of Aitken, Sean > > Sent: 18 January 2005 16:25 > > > > On Jan 18 10:01, Igor Pechtchanski wrote: > > > > Ugh, top-posting... Also, > > > . > > > > Than

Re: FileRunner under cygwin - simple compilation fails.

2005-01-18 Thread CV
Thanks for your help Igor. Actually I found the answer by googling for "___RUNTIME_PSEUDO_RELOC_LIST__". Someone had that problem fixed by upgrading to the latest binutils. I checked and my binutils was a 2002 version while there is a 2004... one available. What I can't understand is how an ol

Re: bulk command line renamer

2005-01-18 Thread Raye Raskin
- Original Message - From: "Christopher Faylor" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 18, 2005 6:52 AM Subject: Re: bulk command line renamer On Tue, Jan 18, 2005 at 12:53:14AM -0800, Raye Raskin wrote: Ah, I remember now. From my SuSE Linux -- krename. I seem to remember an e

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Aitken, Sean > Sent: 18 January 2005 16:25 > > On Jan 18 10:01, Igor Pechtchanski wrote: > > > Ugh, top-posting... Also, > > . > > > Thanks. > Also, I'm using Outlook (*gag*) at work which

Re: Another web page bug report

2005-01-18 Thread Jonathan Arnold
Norman Vine wrote: Jonathan Arnold writes: I tried to go to Chuck Wilson's web page, as pointed to in the rxvt README: http://www.neuro.gatech.edu/users/cwilson/cygutils/ hmm 4th link returned for google( "wilson cygwin cygutils" ) Better man than I, Gunga Din. I tried 'cygutils chuck wilson' and

Re: Another web page bug report

2005-01-18 Thread Jonathan Arnold
Jim Drash wrote: On Tue, 18 Jan 2005 10:54:01 -0500, Jonathan Arnold <[EMAIL PROTECTED]> wrote: I tried to go to Chuck Wilson's web page, as pointed to in the rxvt README: http://www.neuro.gatech.edu/users/cwilson/cygutils/ And I just noticed it is also mentioned on this Cygwin web page: http://cyg

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Aitken, Sean
> On Jan 18 10:01, Igor Pechtchanski wrote: > > Ugh, top-posting... Also, > . > > Thanks. > > What about adding the "TOFU" acronym for these purposes? Otherwise > you're missing to critizise the fullquote. My sincere apologies. I must admit that I'm n

Re: How do I get an old version of cygwin?

2005-01-18 Thread Christopher Faylor
On Tue, Jan 18, 2005 at 11:08:03AM -0500, Doctor Bill wrote: >What I would try is: > > 1. Rename the cygwin on my machine. > 2. Save and then erase the cygwin registry settings. > 3. Copy their whole cygwin installation and registry settings to your > machine. > 4. Use setup to download the so

Re: How do I get an old version of cygwin?

2005-01-18 Thread Doctor Bill
What I would try is: 1. Rename the cygwin on my machine. 2. Save and then erase the cygwin registry settings. 3. Copy their whole cygwin installation and registry settings to your machine. 4. Use setup to download the source packages you need that are not available in their distribut

RE: Another web page bug report

2005-01-18 Thread Norman Vine
Jonathan Arnold writes: > > I tried to go to Chuck Wilson's web page, as pointed to in the > rxvt README: > > http://www.neuro.gatech.edu/users/cwilson/cygutils/ > > And I just noticed it is also mentioned on this Cygwin web page: > > http://cygwin.com/links.html > > Unfortunately, that page i

Re: Another web page bug report

2005-01-18 Thread Jim Drash
http://cygwin.com/links.html is absolutely around!! On Tue, 18 Jan 2005 10:54:01 -0500, Jonathan Arnold <[EMAIL PROTECTED]> wrote: > I tried to go to Chuck Wilson's web page, as pointed to in the > rxvt README: > > http://www.neuro.gatech.edu/users/cwilson/cygutils/ > > And I just noticed it is

Another web page bug report

2005-01-18 Thread Jonathan Arnold
I tried to go to Chuck Wilson's web page, as pointed to in the rxvt README: http://www.neuro.gatech.edu/users/cwilson/cygutils/ And I just noticed it is also mentioned on this Cygwin web page: http://cygwin.com/links.html Unfortunately, that page isn't around, and a little bit of Googling couldn't

Re: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Corinna Vinschen
On Jan 18 10:01, Igor Pechtchanski wrote: > Ugh, top-posting... Also, . > Thanks. What about adding the "TOFU" acronym for these purposes? Otherwise you're missing to critizise the fullquote. For the acronym TOFU see http://www.acronymfinder.com/af-que

Re: FW: intr (ctl c) nohup and other stuff

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, Eden, Edward - St. Louis, MO wrote: > something is wrong with the underlying signal handling. From a bash cmd > shell open up an xterm. Then put the focus back on the bash shell > window and press ctl^c. Both the shell window and the xterm receive the > ctl^c.

Re: FileRunner under cygwin - simple compilation fails.

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, CV wrote: > Hello, > FileRunner is a nifty little file manager that I have been > using for years under Linux and I would like to have it under > cygwin as well. > > But I am stuck with installation on cygwin because I can't > get the included, very simple c-program to compile

FW: intr (ctl c) nohup and other stuff

2005-01-18 Thread Eden, Edward - St. Louis, MO
something is wrong with the underlying signal handling. From a bash cmd shell open up an xterm. Then put the focus back on the bash shell window and press ctl^c. Both the shell window and the xterm receive the ctl^c. Also I have a script that uses nohup that has been working for years. It

Re: Fw: bug in texi2dvi, and hack patch

2005-01-18 Thread Karl Berry
Subject: Fw: bug in texi2dvi, and hack patch Thanks very much for the report and various fixes. I'll fix it one way or another. Regards, karl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: htt

FileRunner under cygwin - simple compilation fails.

2005-01-18 Thread CV
Hello, FileRunner is a nifty little file manager that I have been using for years under Linux and I would like to have it under cygwin as well. But I am stuck with installation on cygwin because I can't get the included, very simple c-program to compile, probably due to my own cluelessness about w

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Igor Pechtchanski
Ugh, top-posting... Also, . Thanks. More below. On Tue, 18 Jan 2005, Aitken, Sean wrote: > It does seem to be a problem with running cygrunsrv under non SYSTEM > accounts then.. I have granted almost all privileges (via. Local > Security Policy) to the

Re: How do I get older cygwin version 1.5.5?

2005-01-18 Thread Christopher Faylor
On Tue, Jan 18, 2005 at 02:24:26PM +0100, Lapo Luchini wrote: >A longer one is: hope to find some friend that never upgraded since >1.5.5 and hope he didn't delete the downloaded packages. > >The most correct one, though, is probably: you should compile the DLL >itself (probably taken from the CVS.

RE: rxvt doc problem (FAQ bug alert)

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, Hughes, Bill wrote: > Jonathan Arnold wrote: > > I followed the recommendation from the FAQ: > > > > http://cygwin.com/faq/faq_3.html#SEC63 > > > > and installed rxvt, and I've run into a couple of problems. Nothing > > major, but I thought I'd ask about them here: > > > > 1]

Re: bulk command line renamer

2005-01-18 Thread Christopher Faylor
On Tue, Jan 18, 2005 at 12:53:14AM -0800, Raye Raskin wrote: >Ah, I remember now. From my SuSE Linux -- krename. > >>>I seem to remember an enhanced "mv" command but I can't find it. >> >>mmv. Look on freshmeat. I'm struggling to see what this conversation has to do with cygwin. We do have a ma

Re: How do I get an old version of cygwin?

2005-01-18 Thread Christopher Faylor
On Tue, Jan 18, 2005 at 08:41:51AM +, Adrian Cox wrote: >On Mon, 2005-01-17 at 15:11 -0800, James M. Rogers wrote: >>My company has a small program that we use to pull data from files on >>multiple OSes. >> >>We use the latest version of cygwin on our own internal computers to >>run under windo

Re: Problems about CGI Programming on Cygwin

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, C u wrote: > 1. How can I run Apache as a service on cygwin? 1a. Install the "apache" package. 1b. Read /usr/share/doc/Cygwin/apache-1.3.29-1.README. > 2. How can I execute a CGI program residing in an Apache server which is > running on Cygwin via my Internet Explorer? 2a.

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Aitken, Sean
It does seem to be a problem with running cygrunsrv under non SYSTEM accounts then.. I have granted almost all privileges (via. Local Security Policy) to the sshd_server user. Also, I have tried this with a domain account added to the local Administrators (and granted RunAsService) with the same re

RE: rxvt doc problem

2005-01-18 Thread Hughes, Bill
Jonathan Arnold wrote: ..snip.. > 2] The man and/or info pages for rxvt are not formatted correctly. > It looks like the text markup is still in there. Here's the first few > lines of 'man rxvt': > > .YODLTAGSTART. roffcmd .SH "NAME" .YODLTAGEND. rxvt (ouR > XVT) - a VT102 emulator for

RE: rxvt doc problem

2005-01-18 Thread Hughes, Bill
Jonathan Arnold wrote: > I followed the recommendation from the FAQ: > > http://cygwin.com/faq/faq_3.html#SEC63 > > and installed rxvt, and I've run into a couple of problems. Nothing > major, but I thought I'd ask about them here: > > 1] The above FAQ entry says to see the file: > > /usr/share

Re: Fwd: Re: more coreutils 5.3.0 issues on cygwin

2005-01-18 Thread Corinna Vinschen
On Jan 18 07:02, Eric Blake wrote: > Corinna, why did you change od in coreutils 5.2.1? When I proposed your > patch upstream, the maintainers pointed out that 12 lines later in the > same method, the code is calling setmode(fd, O_BINARY) for all non-tty > input filenames that were just fopen'd.

Fwd: Re: more coreutils 5.3.0 issues on cygwin

2005-01-18 Thread Eric Blake
Corinna, why did you change od in coreutils 5.2.1? When I proposed your patch upstream, the maintainers pointed out that 12 lines later in the same method, the code is calling setmode(fd, O_BINARY) for all non-tty input filenames that were just fopen'd. Does cygwin have a working setmode (and if

rxvt doc problem

2005-01-18 Thread Jonathan Arnold
I followed the recommendation from the FAQ: http://cygwin.com/faq/faq_3.html#SEC63 and installed rxvt, and I've run into a couple of problems. Nothing major, but I thought I'd ask about them here: 1] The above FAQ entry says to see the file: /usr/share/doc/Cygwin/rxvt-.README for more info. But I

RE: update on hyperthreading system for cgf

2005-01-18 Thread Volker Bandke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Should be more money in the pot now. The system I am using that demonstrates the problem: CPU: Intel Pentium 4HT, 3200 MHz (4x800), Northwood Hyperthreading MoBo: ASUS P4P800-E DeLuxe Chipset: Intel Springdale i865PE Speicher: 4x512 MB

Fw: bug in texi2dvi, and hack patch

2005-01-18 Thread Eric Blake
This was sent to a cygwin list, but is more properly a texinfo problem in the texi2dvi script (version 4.7). $COMSPEC has meaning in djgpp and perhaps mingw, but is just a worthless environment variable when inherited into cygwin. Instead of using $COMSPEC for determining the path separator, you

Re: How do I get older cygwin version 1.5.5?

2005-01-18 Thread Lapo Luchini
Shortest anwer is: you don't. A longer one is: hope to find some friend that never upgraded since 1.5.5 and hope he didn't delete the downloaded packages. The most correct one, though, is probably: you should compile the DLL itself (probably taken from the CVS..?) and re-compile also all the need

Problems about CGI Programming on Cygwin

2005-01-18 Thread C u
1. How can I run Apache as a service on cygwin? 2. How can I execute a CGI program residing in an Apache server which is running on Cygwin via my Internet Explorer? _ MSN Messenger 7.0 搶鮮版熱烈下載中:別錯過超酷的動畫快遞 http://messenger.msn.com.tw

How do I get older cygwin version 1.5.5?

2005-01-18 Thread luca . spinacci
Thank, L. Spinacci -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: Building DLL's using g++, not gcc

2005-01-18 Thread David Marteau
Hi, The way symbol names are built in dll differs if they are related to c call convention or to c++ call, and that could be your problem. When compiling hello.c with gcc, your exported symbol corresponds to C calling convention. When compiling dll with g++, you should declare your exported fu

Re: mt: DDS-3 density unknown

2005-01-18 Thread Corinna Vinschen
On Jan 18 10:34, Walter Haidinger wrote: > Hi! > > mt V2.3 doesn't known about density code 0x25 which should be DDS-3. > And really, having a look at the source mt-2.3-1/mt.c shows: > ... > {0x22, "QIC-2GB-DC (DC 9250)"}, > {0x24, "DDS-2"}, > {0x26, "QIC-4GB-DC (SLR 5)"}, > ... > > In comp

Re: FW: Cygwin Perl bug -- pod2usage(-verbose => 0) & pod2usage(-verbose => 1)

2005-01-18 Thread Reini Urban
David Christensen schrieb: pod-people & perlbug: I made the subject posting on the Cygwin mailing list. Gerrit P. Haase confirmed the bug in pod2usage(), and requested that I forward the posting to pod-people and perlbug. The referenced script attachments follow. All three cases work fine for me

mt: DDS-3 density unknown

2005-01-18 Thread Walter Haidinger
Hi! mt V2.3 doesn't known about density code 0x25 which should be DDS-3. And really, having a look at the source mt-2.3-1/mt.c shows: ... {0x22, "QIC-2GB-DC (DC 9250)"}, {0x24, "DDS-2"}, {0x26, "QIC-4GB-DC (SLR 5)"}, ... In comparison, e.g. mt_st v0.7 which comes with SuSE 9.1 knows much mo

Re: bulk command line renamer

2005-01-18 Thread Raye Raskin
Ah, I remember now. From my SuSE Linux -- krename. I seem to remember an enhanced "mv" command but I can't find it. mmv. Look on freshmeat. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygw

Re: How do I get an old version of cygwin?

2005-01-18 Thread Adrian Cox
On Mon, 2005-01-17 at 15:11 -0800, James M. Rogers wrote: > My company has a small program that we use to pull data from files on > multiple OSes. > > We use the latest version of cygwin on our own internal computers to run > under windows systems and this works fine. > > However, one of our c