[bug?] C program won't compile anymore
Hello Using W32api 2.1-1 gcc 3.2-3 gcc-mingw 20020817-3 I get the following when I compile cleanly [compiling stock zangband-2.7.1 see www.zangband.org] make -f makefile.std cygwin gcc -Wall -O2 -g -fno-strength-reduce -W -pedantic -mno-cygwin -DWINDOWS -c -o readdib.o readdib.c In file included from /usr/include/w32api/windows.h:47, from readdib.c:20: /usr/include/mingw/stdarg.h:6:24: no include path in which to find stdarg.h In file included from /usr/include/mingw/string.h:40, from /usr/include/w32api/winnt.h:37, from /usr/include/w32api/windef.h:246, from /usr/include/w32api/windows.h:48, from readdib.c:20: /usr/include/mingw/stddef.h:6:24: no include path in which to find stddef.h In file included from /usr/include/w32api/winnt.h:37, from /usr/include/w32api/windef.h:246, from /usr/include/w32api/windows.h:48, from readdib.c:20: /usr/include/mingw/string.h:52: parse error before "size_t" /usr/include/mingw/string.h:53: parse error before "size_t" cut out a large number of messages /usr/include/mingw/string.h:181: ISO C forbids data definition with no type or storage class /usr/include/mingw/string.h:182: parse error before '*' token /usr/include/mingw/string.h:183: parse error before '*' token /usr/include/mingw/string.h:183: parse error before '*' token /usr/include/mingw/string.h:183: ISO C forbids data definition with no type or storage class cut out a large number of messages /usr/include/mingw/stdlib.h:418: parse error before "size_t" make: *** [readdib.o] Error 1 Bug??? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Telnetd hangs for a while before giving login prompt
Hi, Finally found what the problem is. Let me not get into technical details of this. But inetd runs as SYSTEM and home directory of SYSTEM will be set to "/". Edit passwd file and change the home directory of SYSTEM to something (e.g, /tmp). Restart the inetd. Now telnetd should work fine. :-) Raghav Hi, I have installed cygwin 1.3.16 on my win2k workstation. I have installed inetd as a service and am running it as localsystem. I have created passwd/group files for local users only, not domain users. rlogin is working without any problem. But if I try to telnet my machine, it hangs for about 3 minutes or so before giving me the login prompt. This happens only if I have logged into the domain. Even if i remove the network cable from my machine, Prompt will appear quickly. There is no problem with reverse dns lookup -- nslookup works fine both for forward and reverse lookups. Any clue what might be wrong? or is it a bug in telnetd? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated: cpio-2.5-1
I think there is a small problem with the name of the latest package released: In setup.ini, section @ cpio: install: release/cpio/cpio-2.5-1.tar.gz 32703 a515c5cd537122f30cd0c83d86f588eb $ file release/cpio/cpio-2.5-1.tar.gz release/cpio/cpio-2.5-1.tar.gz: bzip2 compressed data, block size = 900k ^ should be cpio-2.5-1.tar.bz2 ... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: gawk : Input file remaining locked after program termination
Thank you for your answer. Comments follow. > This will attempt to spawn a copy of notepad for every line in > the file foobar in background and then returns the command's status. > In other words gawk will not wait for the notepad command to > complete before moving to the next line in foobar and next instance > of a notepad process. > So there could be a number of incomplete notepad instances running, > one of which is trying to access foobar.tmp when the mv command is > being executed. This may be causing the effect that you describe. This is precisely what was intended. I wanted to demonstrate that when the process spawned by "system()" is still active after gawks's termination, the input file remains locked. I suspect that at some point gawk forks (or whatever other mechanism it uses) the "system()" call but somehow does not close the file descriptors that where used in the main process. I am not familiar with how cygwin deals with fork() and other such mechanisms, so this is only wild guessing. >> Running foo.sh produced the following output : >> mv: cannot create regular file `foobar': Permission denied > This did not happen when I tried your exact commands on my system. > [...] > I don't think that this is a gawk issue - it may be your set up. > Which version of Cygwin are you using? I am using the latest version of Cygwin and gawk (updated weekly), running on a Windows 2000 box. It is surprising, yet interesting that you should not experience the same problem. Any suggestion anyone ? > A few comments re: your gawk program. This will fail if any of the > files have spaces in their names, because you are using $1 as the > name of the file to pass to notepad. It would be more sensible to > use $0 and to quote it when passing it to notepad, i.e.: >system ("notepad \"" $0"\" &") That was just a minialist example program that would exhibit the problem, not my actual program (I use cygpath to convert the filename to the windows paradigm in "real life", notepad isn't even the program I launch from awk anyway...). > Oh, and awk isn't perl, so you don't need to end lines with ";" Yes, I know... it's just an old C/C++ habit... I just happen to like it better this way, for the look of it :-) (I won't blame anyone who finds it stupid...) Thanks again for your reply. Lionel __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: LFTP: Cygwin and setupterm
This thread has a lot of misinformation and just plain confusion. For starters, term.h != termcap.h. Some messages in this thread talk about term.h, others about termcap.h -- and seem to mean one when they're talking about the other. Sigh. Also, /usr/include/termcap.h is NOT the ncurses version (on a stock cygwin system). The ncurses termcap compatibility header file is /usr/include/ncurses/termcapn.h (note the extra 'n') No, the standard ncurses package doesn't put a term.h -> ncurses/term.h symlink. It probably should; my linux box includes these symlinks that the ncurses cygwin package doesn't: /usr/include/term.h -> ncurses/term.h /usr/include/eti.h -> ncurses/eti.h For now, do it yourself. I've added this change to my ncurses TODO list, so the next ncurses release will do this for you. As far as Frederic's problem goes, I'd create the new symlinks, and re-run configure (after deleting config.cache). Hopefully that will make the changes to lftp_tinfo.cc unnecessary. - [[ ONLY for the brave; NO FURTHER support for this variant will be forthcoming ]] If you want to use ncurses as a complete replacement for libtermcap (when compiling; this procedure will NOT change the runtime behavior of already-compiled programs), then you need to: rename /usr/include/ncurses/termcapn.h to /usr/include/ncurses/termcap.h Do NOT copy it into /usr/include -- the "real" termcap.h should live there. [DON'T DO THIS: You'd want to uninstall the termcap package BUT YOU CAN'T]. The problem is, the termcap package includes the header and library *as well as* /etc/termcap. You want to keep /etc/termcap; so you must manually delete /usr/include/termcap.h, /usr/lib/libtermcap.a, and /usr/man/man3/termcap.3. And they'll reappear the next time you update the termcap package. Once you've done all this, if the package you are compiling is set up properly, it will see termcap.h in /usr/include/ncurses, and use it (and will automatically link using -lcurses or -lncurses instead of -ltermcap. But only if your autoconfigury stuff is handled properly. If it is not, then it's a bug in the package you're trying to compile -- go talk to them about it. - --Chuck Frédéric L. W. Meunier wrote: On Mon, 16 Dec 2002, [EMAIL PROTECTED] wrote: The setupterm() function lives in the ncurses package (/usr/include/ncurses/term.h). The problem happens in the if pre-processor clause on line 26 of lftp_tinfo.cc. I got around that by changing the order and switching an if to an elif statement like this: #if defined(__CYGWIN__) # include # include #elif defined(HAVE_CURSES_H) # include # if defined(HAVE_TERM_H) # include # endif #elif defined(HAVE_NCURSES_CURSES_H) #include # if defined(HAVE_NCURSES_TERM_H) # include # endif #endif May not have been the right thing to do but got past that problem. Now I got a `undefined reference to `_WinMain@16'' error, probably because I dont have libsup++ installed though. I don't have libsupc++. I'm using the latest gcc2. I think the right fix was to make the /usr/include/term.h symlink, which for some reason: 1- Isn't in ncurses 5.2-8 or 2- Is removed when you uninstall libtermcap -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: postgresql postmaster and LC_MESSAGES EN_US problem
Jari, On Fri, Dec 13, 2002 at 11:44:30PM +0200, Jari Aalto wrote: > * Thu 2002-12-12 Jason Tishler <[EMAIL PROTECTED]> list.cygwin > > It appears that having LANG=en_us set before you ran initdb caused > > this problem. My recommendation it to either unset LANG or use > > LANG=C before you rerun initdb. > > > May I suggest that the documentation says: > > $ env LC_ALL=C initdb -D /usr/share/postgresql/data IMO, the above is unnecessary unless the default Cygwin environment sets any of locale related environment variables to something other that "C". Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated: cpio-2.5-1
On Tue, Dec 17, 2002 at 03:34:43AM -0700, [EMAIL PROTECTED] wrote: > I think there is a small problem with the name of the latest package > released: > > In setup.ini, section @ cpio: > install: release/cpio/cpio-2.5-1.tar.gz 32703 > a515c5cd537122f30cd0c83d86f588eb > $ file release/cpio/cpio-2.5-1.tar.gz > release/cpio/cpio-2.5-1.tar.gz: bzip2 compressed data, block size = 900k > ^ > should be cpio-2.5-1.tar.bz2 ... Thanks for the heads up. I fixed it. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] GNU emacs 21.2-11 is available
GNU emacs 21.2-11 is available. Changes: - optimized size of unexec()'d emacs binary for better fork() performance - recompiled all LISP files (-9 did, but -10 did not, and that may have caused problems reported by a couple users) New users please be aware: - You will want "tty" included in your CYGWIN environment variable setting, and probably "binmode". Look at the following for some documentation: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html Joe Buehler *** INFORMATION ON UPDATING CYGWIN *** To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a reliable high bandwidth connection. In Germany, ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is usually pretty good. In the UK, http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/ is usually up-to-date within 48 hours. If one of the above doesn't have the latest version of this package then you can either wait for the site to be updated or find another mirror. The setup.exe program will figure out what needs to be updated on your system and will install newer packages automatically. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you have trouble, please use the resources at http://cygwin.com/ml/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
"Too many open files"
Hi I am using the 'sitecopy' program under cygwin (under Win2K) and I'm receiving this message when it's going through it's motions. Under Unix I know that I can modify kernel params to boost the maximum number of open files. How is this acheived w/ Cygwin? Is it a cygwin setting or windows? Thanks In Advance, Erich -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[SCRIPT] find-dll-symbol
The attached script is an improved version of a script previously posted. This one takes hex numbers on the command line and dumps the associated dll symbol information. It is useful in determining what functions are present in a stack trace. The dll information is cached. Use --update to update the cache (dll modify times are checked) or --rebuild to rebuild the cache completely (all dll files are reexamined). Change $CACHEFILE and @DLLDIRS to suit. Joe Buehler #!/usr/bin/perl # # find symbol and dll given an address # # You need "dumpbin" for this to work. # # Set @DLLDIRS to the list of directories in which you are interested. # Set $CACHEFILE to the location of the cache file. # # coded by Joe Buehler ([EMAIL PROTECTED]) # # $Id: find-dll-symbol,v 1.1 2002/12/17 13:56:08 jhpb Exp $ # $CACHEFILE = "/usr/local/lib/dll-info"; @DLLDIRS = ("/bin", "/sys"); my @SYMBOL_INFO; update_symbol_info(); for $arg (@ARGV) { if ($arg eq "--rebuild") { unlink($CACHEFILE); update_symbol_info(1); } elsif ($arg eq "--update") { update_symbol_info(1); } elsif ($arg =~ /^-/o) { print STDERR "$0: $arg: unknown option\n"; exit(1); } else { find_symbol($arg); } } sub update_symbol_info { my($force_rebuild) = @_; my %dll_info; my $modified = 0; my $mtime_cache = 0; my $cache_was_read = 0; # don't do this if we have already done it return if (@SYMBOL_INFO && !$force_rebuild); # read in the cache file if it exists if (-f $CACHEFILE) { # get modify time for cache file my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = stat(_); $mtime_cache = $mtime; # read in cache file open(CACHE, "<$CACHEFILE"); while () { chomp; my($start, $dll, $name) = split(/:/, $_, 3); push(@{$dll_info{$dll}}, [hex($start), $dll, $name]); push(@SYMBOL_INFO, [hex($start), $dll, $name]); } close(CACHE); return unless $force_rebuild; ++$cache_was_read; } print STDERR "rebuilding cache...\n"; # update files for which there is no data in the cache or it is out of date for $dlldir (@DLLDIRS) { next unless -d "$dlldir"; opendir(DLLDIR, $dlldir); while ($dll = readdir(DLLDIR)) { next unless $dll =~ /[.]dll$/io; next unless -f "$dlldir/$dll"; # normalize dll file name $dll = lc $dll; # check dll modify time vs. cache file ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = stat(_); next if ((exists $dll_info{$dll}) && ($mtime < $mtime_cache)); print STDERR "*** updating $dlldir/$dll\n"; $modified = 1; delete $dll_info{$dll}; push(@{$dll_info{$dll}}, [0, $dll, ""]); open(DUMPBIN, qq{ cd '$dlldir' && dumpbin /headers /exports '$dll' | }); while () { # remove line endings s/\r*\n//o; # discard blank lines next if /^\s*$/o; # process stuff in which we are interested if (/^\s*(\S+)\s+image\s+base\s*$/io) { $image_base_address = hex $1; } elsif (/^\s+ordinal\s+hint\s+RVA\s+name\s*$/io .. /^\S/o) { next if /^\s+ordinal\s+hint\s+RVA\s+name\s*$/io; next if /^\S/io; next unless ($ordinal, $hint, $RVA, $name) = /^\s+(\S+)\s+(\S+)\s+(\S+)\s+(.+)$/o; push(@{$dll_info{$dll}}, [$image_base_address + hex($RVA), $dll, $name]); } } close(DUMPBIN); } closedir(DLLDIR); } if ($modified) { undef @SYMBOL_INFO; for $info (values %dll_info) { for (@$info) { push(@SYMBOL_INFO, [@$_]); } } @SYMBOL_INFO = sort { $$a[0] <=> $$b[0] } @SYMBOL_INFO; open(CACHEFILE, ">$CACHEFILE"); for $info (@SYMBOL_INFO) { printf CACHEFILE ("0x%08x:%s:%s\n", $$info[0], $$info[1], $$info[2]); } close(CACHEFILE); } } sub find_symbol { my($address) = @_; my $low = 0; my $high = $#SYMBOL_INFO; my $middle; $address = hex($address); # binary search to find symbols that match provided address while ($low <= $high) { $middle = int(($low + $high) / 2); if ($address >= $SYMBOL_INFO[$middle][0] && ($middle >= $#SYMBOL_INFO || $address < $SYMBOL_INFO[$middle + 1][0])) { my @out; for ($m = $middle - 1; $m >= 0; --$m) { last if ($SYMBOL_INFO[$m][0] != $SYMBOL_INFO[$middle][0]); unshift(@out, sprintf("0x%08x %s %s\n", @{$SYMBOL_INFO[$m]})); } push @out, sprintf("0x%08x %s %s\n", @{$SYMBOL_INFO[$middle]}); for ($m = $middle + 1; $m <= $#SYMBOL_INFO; ++$m) { last if ($SYMBOL_INFO[$m][0] != $SYMBOL_INFO[$middle][0]); push(@out, sprintf("0x%08x %s %s\n", @{$SYMBOL_INFO[$m]})); } print STDERR @out; last; } elsif ( $address < $SYMBOL_INFO[$middle][0] ) { $high = $middle - 1; } else { $low = $middle + 1; } } } # # $Log: find-dll-symbol,v $ # Revision 1.1 2002/12/17 13:56:08 jhpb # Initial revision # -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
m4 has no version in setup.ini
I notice that m4 has no version in the setup.ini file. Is this by design? Joe Buehler -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Gcc 3.2 -mno-cygwin
20:45 [ANNOUNCEMENT] Updated: gcc-mingw-20020817-3 Several hours after I posted a notice of the problem the above was posted... in it's message content is : It adds the "-mno-cygwin" functionality to the standard gcc package. So yeah - it was all totally my fault. and Gosh - I guess it WAS working for everyone else. not. Jim. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated: gcc-mingw-20020817-3
Thank you. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Gcc 3.2 -mno-cygwin
I think you misunderstand. "It adds the "-mno-cygwin" functionality to the standard gcc package." is just the description of what the gcc-mingw package does. Its what it's always done. Its not a new feature, or am i missing something ? > -Original Message- > From: Jim [mailto:[EMAIL PROTECTED]] > Sent: 17 December 2002 14:41 > To: cygwin-apps; [EMAIL PROTECTED] > Subject: Re: Gcc 3.2 -mno-cygwin > > > 20:45 [ANNOUNCEMENT] Updated: gcc-mingw-20020817-3 > > > Several hours after I posted a notice of the problem the > above was posted... > in it's message content is : It adds the "-mno-cygwin" > functionality to the standard gcc package. > > > So yeah - it was all totally my fault. and Gosh - I guess it > WAS working > for everyone else. > > not. > > Jim. > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
KEIL to SDCC
Hi all, I think i can post about SDCC doubts here !!! I have thought of using SDCC rather than the KEIL cross compiler. I have some errors that i get when i run the KEIL program in SDCC . 1) FL.c : 96 parse error : taken -> ' ' : column 0 The above error occurs in line 96 which is not present in the program and is indeed the line next to the last line of my program ... What is the problem actually ? solution plz ! 2) warning : function 'printf' implicit declaration what is this warning ? why this ?? i have inclued stdio.h 3) error : too many paramaters . I get the above error for the line printf("%f", mine1) . what is it ? what is the solution ? Do reply and solve these tiny problems. Thanx in advance karthik bala guru [EMAIL PROTECTED] Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: KEIL to SDCC
I have no idea what SDCC or KEIL are, but the 3rd error is likely cause by the lack of prototype for printf. If the implicit declaration of printf is along the lines of printf("blah");, then the compiler will assume the function to only take 1 parameter and not a va_args list. Sort out error 2, and error 3 will probably vanish too. Sorry I can't help with the more difficult parts of your email. Steve. -Original Message- From: Karthik Bala Guru [mailto:[EMAIL PROTECTED]] Sent: 17 December 2002 15:06 To: [EMAIL PROTECTED] Subject: KEIL to SDCC Hi all, I think i can post about SDCC doubts here !!! I have thought of using SDCC rather than the KEIL cross compiler. I have some errors that i get when i run the KEIL program in SDCC . 1) FL.c : 96 parse error : taken -> ' ' : column 0 The above error occurs in line 96 which is not present in the program and is indeed the line next to the last line of my program ... What is the problem actually ? solution plz ! 2) warning : function 'printf' implicit declaration what is this warning ? why this ?? i have inclued stdio.h 3) error : too many paramaters . I get the above error for the line printf("%f", mine1) . what is it ? what is the solution ? Do reply and solve these tiny problems. Thanx in advance karthik bala guru [EMAIL PROTECTED] Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ *** This email has originated from Perwill plc (Registration No. 1906964) Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK Tel: +44 (0)1420 545000 Fax: +44 (0)1420 545001 www.perwill.com *** Privileged, confidential and/or copyright information may be contained in this email, and is only for the use of the intended addressee. To copy, forward, disclose or otherwise use it in any way if you are not the intended recipient or responsible for delivering to him/her is prohibited. If you receive this email by mistake, please advise the sender immediately, by using the reply facility in your email software. We may monitor the content of emails sent and received via our network for the purposes of ensuring compliance with policies and procedures. This message is subject to and does not create or vary any contractual relationships between Perwill plc and the recipient. *** Any opinions expressed in the email are those of the sender and not necessarily of Perwill plc. *** This email has been scanned for known viruses using McAfee WebShield 4.5 MR1a *** -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: subsrcibe
On 17 Dec 2002 12:30:43 +0700 Nugroho Nursuwito <[EMAIL PROTECTED]> wrote: > subscribe > Posting this request, especially misspelled, does nothing except annoy the list members. Please read the entire page before you post again. http://cygwin.com/cygwin/lists.html -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANN] Re: cyg-wrapper.sh
* On Mon, Dec 16, 2002 at 05:12:56PM -0700, Matt Armstrong <[EMAIL PROTECTED]> wrote: > > --cyg-PWD-clear : to unset PWD > > --cyg-PWD-convert : to convert PWD to its DOS (short) form. > > > > I was considering to handle other environment variables, but I > > didn't see any good candidate -- ie. environment variables specific > > to bash or cygwin that win32 native applications may also use. > > SHELL. > > The solution was to clear the SHELL env var, since I didn't want emacs > using my cygwin shell. It is possible to alias emacs to: alias emacs='(unset SHELL; cygwrapper.sh path-to-emacs ...)' > HOME is also probably a good idea to convert into DOS form. That's odd. $HOME correctly appear with Vim. Any way, --cyg-PWD-clear and --cyg-PWD-convert have been replaced with: --cyg-env-clear=ENV-VARS and --cyg-env-convert=ENV-VARS. So, you can write now: alias prog='cyg-wrapper.sh path-to-prog --cyg-env-convert=PWD,SHELL --cyg-env-convert=HOME' However, I have a bug: "--cyg-env-convert=HOMEPATH" works fine, "--cyg-env-clear=PWD" works fine too, but "--cyg-env-convert=HOMEPATH" does not have any consequences... As well as "(unset HOMEPATH;gvim)". I guess that HOMEPATH got a special traitment from cygwin or bash. Does list of directories needs to be converted also ? I know PATH appears correctly converted from Vim. Is is the same with the other tools, or is it Vim, as I suspect, that opers the convertion ? -- Luc Hermitte http://hermitte.free.fr/cygwin/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Gcc 3.2 -mno-cygwin
On Tue, Dec 17, 2002 at 02:55:32PM -, Vince Hoffman wrote: >I think you misunderstand. "It adds the "-mno-cygwin" functionality to the >standard gcc package." >is just the description of what the gcc-mingw package does. Its what it's >always done. Its not a new feature, or am i missing something ? You're not missing anything. I suggested installing the gcc-mingw package. Jim noticed that I released a new version of gcc-mingw (amidst a bunch of other packages) and erroneously thought that his problem was somehow related to my release. I do admit that the discussion of gcc-mingw jogged my memory that I had a new version to release, so I released it. AFAIK it did not in any way address any of the problems he was seeing. As far as I can tell he just didn't have the package installed. Even the small amount of detail that he provided seemed to verify this fact. I guess we'll never know now. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: m4 has no version in setup.ini
On Tue, Dec 17, 2002 at 09:05:52AM -0500, Joe Buehler wrote: >I notice that m4 has no version in the setup.ini file. Is this by >design? Yes. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] Updated: gcc-mingw-20020817-3
On Tue, Dec 17, 2002 at 06:47:20AM -0800, Jim wrote: >Thank you. For what? I'm still mystified as to why you didn't download this package to begin with or at least reinstall it as suggested. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Gcc 3.2 -mno-cygwin
> I think you misunderstand. "It adds the "-mno-cygwin" functionality to the > standard gcc package." Oh certainly I understood since 2 days ago I started a thread that such functionality was broken, and everyone said 'well certainly it's something you have misconfigured' when it wasn't my fault at all. > is just the description of what the gcc-mingw package does. Its what it's > always done. Its not a new feature, or am i missing something ? > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] GNU emacs 21.2-11 is available
GNU emacs 21.2-11 is available. Changes: - optimized size of unexec()'d emacs binary for better fork() performance - recompiled all LISP files (-9 did, but -10 did not, and that may have caused problems reported by a couple users) New users please be aware: - You will want "tty" included in your CYGWIN environment variable setting, and probably "binmode". Look at the following for some documentation: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html Joe Buehler *** INFORMATION ON UPDATING CYGWIN *** To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a reliable high bandwidth connection. In Germany, ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is usually pretty good. In the UK, http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/ is usually up-to-date within 48 hours. If one of the above doesn't have the latest version of this package then you can either wait for the site to be updated or find another mirror. The setup.exe program will figure out what needs to be updated on your system and will install newer packages automatically. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you have trouble, please use the resources at http://cygwin.com/ml/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Gcc 3.2 -mno-cygwin
Since I was one of the responders to your original inquiry, I take exception to the charaterization you give below of the responses you received. I quite clearly stated that I could reproduce your issue on 1 machine (but not others) despite the fact I had the "gcc-mingw" package installed there. Since this didn't make much sense to me, I reran setup and reinstalled the "gcc-mingw" package. This fixed the problem for me. As I recall, I recommended that you reinstall the "gcc-mingw" if you did indeed have it installed but were experiencing this problem. If that's assessing blame (i.e. who's "fault" it is that you're having this problem) in your eyes, I'll offer you an apology if that helps you put this issue behind you. However, for anyone else reading this thread now or in the future, I think it's important to clearly state that problems of this type are installation specific and can be remedied by following the advice to install/reinstall the "gcc-mingw" package. Certainly though if you see this issue and can provide any specific details that would help the rest of us understand how it arose, we'd be glad to hear about it. Currently, the "gcc-mingw" is a dependency of the "gcc" package so it will be installed by default with gcc in a normal install unless the user has requested otherwise. Larry Original Message: - From: Jim [EMAIL PROTECTED] Date: Tue, 17 Dec 2002 07:58:03 -0800 To: [EMAIL PROTECTED] Subject: Re: Gcc 3.2 -mno-cygwin > I think you misunderstand. "It adds the "-mno-cygwin" functionality to the > standard gcc package." Oh certainly I understood since 2 days ago I started a thread that such functionality was broken, and everyone said 'well certainly it's something you have misconfigured' when it wasn't my fault at all. > is just the description of what the gcc-mingw package does. Its what it's > always done. Its not a new feature, or am i missing something ? > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ mail2web - Check your email from the web at http://mail2web.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
dejagnu, expect and tcl in current cygwin?
I'm not quite sure here, but trying to run dejagnu's runtest gives me an error: $ runtest -V Tcl_Init failed: Can't find a usable init.tcl in the following directories: /usr/share/tcl8.0 /usr/usr/share/tcl8.0 /share/tcl8.0 /usr/share/tcl8.0 This probably means that Tcl wasn't installed properly. and I guess also expect is affected: $ expect -V Tcl_Init failed: Can't find a usable init.tcl in the following directories: /usr/share/tcl8.0 /usr/usr/share/tcl8.0 /share/tcl8.0 /usr/share/tcl8.0 This probably means that Tcl wasn't installed properly. and that it might be due to the recent gdb update (which updates tcl, tight?) Any chance of having a more recent dejagnu with expect? Cheers, /ChJ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: htdig
On Monday 16 December 2002 22:55, Elfyn McBratney wrote: > You will need to download the source distribution of htdig and compile > it yourself. You can get the source from http://htdig.org/where.html. > Hint on installing: > > $ cd /tmp > $ wget http://www.htdig.org/files/htdig-3.1.6.tar.gz > $ tar zxf htdig-3.1.6.tar.gz > $ ./configure --prefix=/usr/local/htdig > $ make > $ make install when I try to ./configure it.. it stats some test.. and then it stops asking where the libstdc libs are.. i did not found them in the setup program.. so I ask here where to get them thanks -- StR <[EMAIL PROTECTED]> -[http://strgt.cjb.net] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: dejagnu, expect and tcl in current cygwin?
-Original Message- From: Christian Jönsson <[EMAIL PROTECTED]> To: cygwin <[EMAIL PROTECTED]> Date: Tue, 17 Dec 2002 19:51:52 +0100 Subject: dejagnu, expect and tcl in current cygwin? I'm not quite sure here, but trying to run dejagnu's runtest gives me an error: $ runtest -V Tcl_Init failed: Can't find a usable init.tcl in the following directories: /usr/share/tcl8.0 /usr/usr/share/tcl8.0 /share/tcl8.0 /usr/share/tcl8.0 This probably means that Tcl wasn't installed properly. and I guess also expect is affected: $ expect -V Tcl_Init failed: Can't find a usable init.tcl in the following directories: /usr/share/tcl8.0 /usr/usr/share/tcl8.0 /share/tcl8.0 /usr/share/tcl8.0 This probably means that Tcl wasn't installed properly. and that it might be due to the recent gdb update (which updates tcl, tight?) Any chance of having a more recent dejagnu with expect? I had to re-install dejagnu and tcl/tk, then apply the dejagnu-1.4.2 update and the target.exp modifications. This brought dejagnu back to working order. Tim -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: dejagnu, expect and tcl in current cygwin?
On Tue, Dec 17, 2002 at 09:44:11PM +, Timothy C Prince wrote: >I had to re-install dejagnu and tcl/tk, then apply the dejagnu-1.4.2 ^^^ >update and the target.exp modifications. This brought dejagnu back to ^^^ >working order. http://cygwin.com/bugs.html cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: htdig
Stuardo Rodriguez <[EMAIL PROTECTED]> wrote: >when I try to ./configure it.. it stats some test.. and then it stops asking >where the libstdc libs are.. i did not found them in the setup program.. so I >ask here where to get them thanks I think you need to go to some web site and download some file. __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: free ATMEL 8051 c cross compilers - SDCC ..... any more ???
Karthik Bala Guru wrote: I came across SDCC that supports ATMEL in Windows platform . Is there any other Free cross cross compilers for ATMEL 8051 in windowz ?? Why don't you Google for this sort of stuff instead of trying to get others to do it for you? The answer seems to be no. Gcc doesn't support Atmel, AFAICS.. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Make caused invalid page fault in module KERNEL32.DLL
Hi all! I'm new to cygwin mailing list, and I had a problem using make utility. I've found that somebody had asked this before, but I couldn't find any answer to it. When I run make.exe under dos prompt, an error message window jumped out, saying that make.exe caused an page fault. --- MAKE caused an invalid page fault in module KERNEL32.DLL at 0187:bff7d833. Registers: EAX=dec0f3a0 CS=0187 EIP=bff7d833 EFLGS=00010202 EBX=81983c9c SS=018f ESP=008dd7b0 EBP=008dd7f8 ECX=bff7d82c DS=018f ESI=0001 FS=3eb7 EDX=bffc9490 ES=018f EDI= GS= Bytes at CS:EIP: 8b 0f 3b ce 76 10 8d 47 10 83 38 00 74 28 83 c0 Stack dump: 008dd7f8 8197c470 0001 bff8deef 81983c9c 008de4d0 dec115c0 8197c4b0 bff7 bff7ddaa 00b8 this is my Makefile: - CC = hyc CFLAGS = -I..\include -g -c LINKER = hylink HEXER = hyeprom OBJECTS = main.o i2c.o all: edsr1600.hye #edsr1600.hex edsr1600.hex: edsr1600.hye hyeprom @edsr1600.fmt edsr1600.hye: $(OBJECTS) hylink -MAP @edsr1600.lnk main.o: main.c $(CC) $(CFLAGS) main.c i2c.o: i2c.c $(CC) $(CFLAGS) i2c.c clean: rm -f *.O *.HYE *.HEX *.MAP - But it succeeded when I just `make clean'. I got the make source tarball to make it myself, and it could make successfully under cygwin bash shell without causing any error. However, when I tried to make my own project under dos prompt, the annoying messages were always shown. I've also tried to use make --win32, but useless. Does anyone have any idea about this problem? How can I avoid it? Thanks for your replying. -- God is real unless declared integer. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: man-1.5j-1
I've made a new version of the man package available for download. This version is a refresh from the Red Hat man package of the same name. It calls nroff in such a way as to correctly display man pages with newer versions of groff. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Christopher Faylor Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: expect-20021217-1
I've made a new version of expect available for downloading. This version is a refresh from the version of expect currently in CVS at sources.redhat.com. It is compiled against the latest available tcl libraries available for cygwin -- tcl 8.3. So, it should work ok with the latest version of DejaGNU after gdb has been installed. I'm still working on properly making tcl/tk into a separate package so, for now, expect needs the gdb package to work correctly since the gdb package contains tcl/tk. For this reason, I've marked gdb as a dependency of expect. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. expect is located in the "Interpreters" category. Click on this category to install expect if it is not already installed. If expect is already installed, it will be updated automatically. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Christopher Faylor Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: dejagnu-20021217-1
I've made a new version of DejaGNU available for downloading. This version is a refresh from the version of DejaGNU currently in CVS at sources.redhat.com. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. DejaGNU is located in the "Devel" category. Click on this category to install DejaGNU if it is not already installed. If DejaGNU is already installed, it will be updated automatically. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate it if you would use this mailing list rather than emailing me directly. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. Christopher Faylor Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/