Re: how to compile the .so to allow extern functions

2006-12-15 Thread Brian Dessent
andy wang wrote: > I want to compile a .so which contains extern function that may be Shared libraries have the extension .DLL on windows. You can make one that is named .so, but it will be utterly confusing, because it is still a DLL just with a nonstandard extension. And the tools are all con

how to compile the .so to allow extern functions

2006-12-15 Thread andy wang
Hi, All I want to compile a .so which contains extern function that may be defined on the main program. The following file can be compiled on linux without any problem but how to compile it on cygwin? $ cat bug1.c //this will be .so and will call an extern func1() in the main proc int func1();

Re: [ANNOUNCEMENT] Updated: xemacs-21.4.20-2/xemacs-tags-21.4.20-2/xemacs-emacs-common-21.4.20-2

2006-12-15 Thread Rick Rankin
- Original Message From: Charles Wilson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Friday, December 15, 2006 8:55:50 PM Subject: Re: [ANNOUNCEMENT] Updated: xemacs-21.4.20-2/xemacs-tags-21.4.20-2/xemacs-emacs-common-21.4.20-2 >Dr. Volker Zell wrote: >> A new version of 'xemacs' has

Re: [ANNOUNCEMENT] Updated: xemacs-21.4.20-2/xemacs-tags-21.4.20-2/xemacs-emacs-common-21.4.20-2

2006-12-15 Thread Charles Wilson
Dr. Volker Zell wrote: A new version of 'xemacs' has been uploaded to a server near you. * Fix: xpm no-X builds were broken on cygwin with /bin/gcc. Was this a libXpm-noX deficiency, or something else? * Fix: Support renamed xpm no-X library under cygwin. Whoops. I meant to include

[ANNOUNCEMENT] Updated: bash-3.2.9-9

2006-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of bash, 3.2.9-9, has been uploaded, replacing 3.2.5-8 as current. NEWS: = This is a minor patch release. It incorporates several official upstream patches (some of which I had already been experimenting with in earlier releases): 6

[ANNOUNCEMENT] Updated: readline-5.2.1-4, libreadline6-5.2.1-4

2006-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of readline and libreadline6, 5.2.1-4, is available for use, replacing 5.2-3 as the current version. 5.1-5 remains the previous version, to match the fact that a previous version of bash 3.1 is still available. NEWS: = This is a min

RE: Weird cosmetic bug after viewing bash man page

2006-12-15 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Aaron Humphrey wrote on Friday, December 15, 2006 5:34 PM: > On 12/15/06, Buchbinder, Barry (NIH/NIAID) [E] wrote: >> I'm wondering whether this might be related to this old problem. >> http://sources.redhat.com/ml/cygwin/2006-11/msg00734.html >> I was having man pages where bold was not turn off

Re: Weird cosmetic bug after viewing bash man page

2006-12-15 Thread Aaron Humphrey
On 12/15/06, Buchbinder, Barry (NIH/NIAID) [E] wrote: I'm wondering whether this might be related to this old problem. http://sources.redhat.com/ml/cygwin/2006-11/msg00734.html I was having man pages where bold was not turn off properly. If I remember correctly, this suggestion fixed it for me.

RE: Weird cosmetic bug after viewing bash man page

2006-12-15 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
Aaron Humphrey wrote on Friday, December 15, 2006 1:38 PM: > On 12/14/06, Matthew Woehlke wrote: >> Aaron Humphrey wrote: >>> It seems to vary. I see it with 'man vim' and 'man printf' after >>> the first screen, for instance, but not with 'man man', unless I >>> pick just the right line. Which

Re: Vista & coreutils (or any other package)

2006-12-15 Thread Corinna Vinschen
On Dec 15 21:53, Corinna Vinschen wrote: > On Dec 15 09:20, Eric Blake wrote: > > According to Corinna Vinschen on 12/14/2006 8:26 AM: > > > http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1020271&SiteID=1&mode=1 > > > > Oh. My. Well, as I maintain coreutils, and don't have access to Vista,

Re: Vista & coreutils (or any other package)

2006-12-15 Thread Benjamin Madore
On Thu, December 14, 2006 10:19 pm, Charles Wilson said: > You have GOT to be kidding me? "Security" based on the name of a file? > That's...that's... > > Oh heck. > > No more than I would expect from Bill "You'll never need more than 640K > RAM" Gates. > > -- > Chuck Yeah, a whole operating s

Re: A regrettable oversight

2006-12-15 Thread Warren Young
Jean-Claude Gervais wrote: So I eventually switched to Linux, again, because of Cygwin. I think that that might even be one if Cygwin's unstated goals. That, and to make the time one must spend in Windows more palatable. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Probl

Re: Vista & coreutils (or any other package)

2006-12-15 Thread Corinna Vinschen
On Dec 15 09:20, Eric Blake wrote: > According to Corinna Vinschen on 12/14/2006 8:26 AM: > > http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1020271&SiteID=1&mode=1 > > Oh. My. Well, as I maintain coreutils, and don't have access to Vista, I > will have a very tough time testing any "worka

[ANNOUNCEMENT] Updated: xemacs-21.4.20-2/xemacs-tags-21.4.20-2/xemacs-emacs-common-21.4.20-2

2006-12-15 Thread Dr. Volker Zell
Hi A new version of 'xemacs' has been uploaded to a server near you. DESCRIPTION: A powerful, highly customizable open source text editor and application development system CYGWIN NEWS: * Routine update Xemacs NEWS: * Fix: xpm no-X builds wer

Re: Weird cosmetic bug after viewing bash man page

2006-12-15 Thread David Barr
This looks like a problem with ANSI attributes in a shell window. The problem doesn't happen when running under xterm. It looks like [22m turns off bold in a Xterm, but not a regular shell. Maybe the "cygwin" entry needs to be fixed in /etc/termcap. -- Unsubscribe info: http://cygwin.com/

Re: Weird cosmetic bug after viewing bash man page

2006-12-15 Thread Aaron Humphrey
On 12/14/06, Matthew Woehlke wrote: Aaron Humphrey wrote: > It seems to vary. I see it with 'man vim' and 'man printf' after the > first screen, for instance, but not with 'man man', unless I pick just > the right line. Which makes it seem less likely that it's a problem > with the man page for

Re: directory listing permission denied on network mounted directory

2006-12-15 Thread Larry Hall (Cygwin)
Srivatsa wrote: /cygdrive/z $cat /etc/passwd SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-SRIVRAMA-WXP\Administrator, S-1-5-21-3899866716-1901569443-1718271970-500:/cygdrive/c/Documents and Settings/Administrator:/bin/bash sri

Re: tar exabyte 8500 under xp

2006-12-15 Thread Pierre Bernhardt
Dave Korn schrieb: > On 15 December 2006 12:27, Pierre Bernhardt wrote: > > >> how do you have create the node /dev/nst1? >> Under my cygwin there is no dev directory installed? > > http://cygwin.com/cygwin-ug-net/using-specialnames.html#id4729541 Thank you. MfG... Pierre Bernhardt -- Unsubsc

Re: Vista & coreutils (or any other package)

2006-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Corinna Vinschen on 12/14/2006 8:26 AM: > Hi, > > just FYI, I'd like to point you to this thread on the Microsoft Windows > Vista developer forum: > > http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1020271&SiteID=1&mode=1 Oh. My.

Re: Cygwin slower on one computer

2006-12-15 Thread Magnus Holmgren
Magnus Holmgren wrote: > I'm trying to figure out why Cygwin build things so much slower on one > computer I have. We're talking about more than 3 times slower on a > computer that ought to be a bit faster (Athlon64 at 2.2-2.4 GHz, > compared to a Pentium M at 1.8 GHz). After some more digging

Re: Cygwin slower on one computer

2006-12-15 Thread Magnus Holmgren
Hugh McMaster wrote: Have you tried enabling the large Windows memory cache option? This should increase your Cygwin compile time immensely. The build time is also related, as you know, to what else is taking CPU time. No, I haven't, as the test isn't (or shouldn't be) I/O bound. The first

Re: Bash confusion

2006-12-15 Thread Larry Hall (Cygwin)
Fanie Nel wrote: Hi, I have a very stupid question: I have just installed Cygwin on a new XP computer, and my bash scripts will not run, for example: When running a bash script containing a program name and a parameter file ie pixelplot test.par The pixelplot program runs but cannot find t

Re: Nfs server and rsync

2006-12-15 Thread Larry Hall (Cygwin)
Ulf Stoermer wrote: Hi, I'm running the universal NFS server 2.3 on a WinXP box and nfs-mount a directory from a Linux box. Then, from the Linux box I use the rsync command to copy a file tree from the local Linux drive to the nfs-mounted directory. I'm transferring about 4GB of data and of cou

Re: A regrettable oversight

2006-12-15 Thread Christopher Faylor
On Fri, Dec 15, 2006 at 10:27:22AM -0500, Jean-Claude Gervais wrote: >I have to chime in here; >Originally, I became curious about Linux BECAUSE of Cygwin. >As I experimented more and more with Cygwin, I became really impressed >with how it was able to support quite a lot of Linux apps at the sourc

Re: A regrettable oversight

2006-12-15 Thread Jean-Claude Gervais
I have to chime in here; Originally, I became curious about Linux BECAUSE of Cygwin. As I experimented more and more with Cygwin, I became really impressed with how it was able to support quite a lot of Linux apps at the source level will relatively little trouble. The trouble and care the Cygwin d

Re: A regrettable oversight

2006-12-15 Thread Igor Peshansky
On Fri, 15 Dec 2006, Christopher Faylor wrote: > On Fri, Dec 15, 2006 at 09:21:38AM -0500, Igor Peshansky wrote: > >On Fri, 15 Dec 2006, Christopher Faylor wrote: > >>On Fri, Dec 15, 2006 at 08:36:28AM -0500, Igor Peshansky wrote: > >>>On Fri, 15 Dec 2006, Dave Korn wrote: > On 15 December 200

Re: A regrettable oversight

2006-12-15 Thread Christopher Faylor
On Fri, Dec 15, 2006 at 09:21:38AM -0500, Igor Peshansky wrote: >On Fri, 15 Dec 2006, Christopher Faylor wrote: >>On Fri, Dec 15, 2006 at 08:36:28AM -0500, Igor Peshansky wrote: >>>On Fri, 15 Dec 2006, Dave Korn wrote: On 15 December 2006 09:13, Corinna Vinschen wrote: >On Dec 14 22:16, Cha

Re: A regrettable oversight

2006-12-15 Thread Igor Peshansky
On Fri, 15 Dec 2006, Christopher Faylor wrote: > On Fri, Dec 15, 2006 at 08:36:28AM -0500, Igor Peshansky wrote: > >On Fri, 15 Dec 2006, Dave Korn wrote: > > > >> On 15 December 2006 09:13, Corinna Vinschen wrote: > >> > >> > On Dec 14 22:16, Charles Wilson wrote: > >> >> > >> >>> blush< Don't ge

Re: A regrettable oversight

2006-12-15 Thread Christopher Faylor
On Fri, Dec 15, 2006 at 08:36:28AM -0500, Igor Peshansky wrote: >On Fri, 15 Dec 2006, Dave Korn wrote: > >> On 15 December 2006 09:13, Corinna Vinschen wrote: >> >> > On Dec 14 22:16, Charles Wilson wrote: >> >> Igor Peshansky wrote: >> >>> On Wed, 13 Dec 2006, Christopher Faylor wrote: >> So,

RE: A regrettable oversight

2006-12-15 Thread Igor Peshansky
On Fri, 15 Dec 2006, Dave Korn wrote: > On 15 December 2006 09:13, Corinna Vinschen wrote: > > > On Dec 14 22:16, Charles Wilson wrote: > >> Igor Peshansky wrote: > >>> On Wed, 13 Dec 2006, Christopher Faylor wrote: > So, Mr. Gold Star Maintainer can I get five gold stars for Chuck in >

RE: tar exabyte 8500 under xp

2006-12-15 Thread Dave Korn
On 15 December 2006 12:27, Pierre Bernhardt wrote: > how do you have create the node /dev/nst1? > Under my cygwin there is no dev directory installed? http://cygwin.com/cygwin-ug-net/using-specialnames.html#id4729541 cheers, DaveK -- Can't think of a witty .sigline today -- Uns

Re: tar exabyte 8500 under xp

2006-12-15 Thread Pierre Bernhardt
Tim Scoggins schrieb: > I am trying to get a tar off an old Exabyte 8500 tape drive using cygwin > under XP. The tape was written under Solaris. I have set the blocksize > to 0 > > mt -f /dev/nst1 setblk 0 > > No errors. I can status the tape. > > But when I try to extract > > tar xvf /dev/n

Re: Vista & coreutils (or any other package)

2006-12-15 Thread Corinna Vinschen
On Dec 14 22:19, Charles Wilson wrote: > Corinna Vinschen wrote: > > >http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1020271&SiteID=1&mode=1 > > >Btw., how many packages actually have executables with the string > >"instal", "update" and "setup" in them? > > You have GOT to be kidding me?

RE: A regrettable oversight

2006-12-15 Thread Dave Korn
On 15 December 2006 09:13, Corinna Vinschen wrote: > On Dec 14 22:16, Charles Wilson wrote: >> Igor Peshansky wrote: >>> On Wed, 13 Dec 2006, Christopher Faylor wrote: So, Mr. Gold Star Maintainer can I get five gold stars for Chuck in recognition of his years of service and for his ded

Re: Vista & coreutils (or any other package)

2006-12-15 Thread Corinna Vinschen
On Dec 14 10:15, Brian Dessent wrote: > Shankar Unni wrote: > > > > The manifest route is pretty simple, you just create an .xml file, then > > > refer to it in a resource file, and then windres does the rest. > > > > But in cases like this, we really *don't* want to run with elevated > > privile

Re: Vista & coreutils (or any other package)

2006-12-15 Thread Corinna Vinschen
On Dec 14 18:38, Christopher Faylor wrote: > On Fri, Dec 15, 2006 at 09:14:44AM +1100, Hugh McMaster wrote: > >Does the same result occur when you run 'install' from the command > >terminal in Vista, after adding Cygwin's 'bin' location to PATH? > > Isn't that *exactly* what she is talking about?

Re: Vista & coreutils (or any other package)

2006-12-15 Thread Corinna Vinschen
On Dec 15 09:14, Hugh McMaster wrote: > Hi Corinna, > > Does the same result occur when you run 'install' from the command > terminal in Vista, after adding Cygwin's 'bin' location to PATH? I though that's clear from the aforementioned thread in the Microsoft forum. Cmd.exe behaves as the Explor

Re: A regrettable oversight

2006-12-15 Thread Corinna Vinschen
On Dec 14 22:16, Charles Wilson wrote: > Igor Peshansky wrote: > >On Wed, 13 Dec 2006, Christopher Faylor wrote: > >>So, Mr. Gold Star Maintainer can I get five gold stars for Chuck in > >>recognition of his years of service and for his dedicated maintainership > >>of important Cygwin packages? >

RE: Vista & coreutils (or any other package)

2006-12-15 Thread Jörg Schaible
DePriest, Jason R. wrote on Thursday, December 14, 2006 7:30 PM: > On 12/14/06, Brian Dessent wrote: [snip] >> I thought the idea here was that the manifest tells the system >> explicitly "I am not an installer and I do not need to be run with >> elevated privileges", i.e. treat it like a normal