RE: Anyone trying 1.5.0 for anything other than managed mode?

2003-07-17 Thread Ross Smith
7;s or > > "+"'s at the bash prompt. The "/" and "*" keys are fine, > as are the rest of the > > keypad keys, and the non-keypad "+" and "-". It's not the > new bash, since I'm > > seeing it at home to

RE: ld -r errors with C++ objects

2003-08-03 Thread Ross Smith
ases significantly. ld doesn't speak C++. Use g++ to link C++ modules. Ross Smith .. Pharos Systems, Auckland, New Zealand "Remember when we told you there was no future? Well, this is it." -- Blank Reg -- Unsubscribe info:

File permission problems with new cygwin dll

2002-10-16 Thread Ross Smith
her people report similar problems, but nobody has suggested a solution (at least to the ones that weren't due to simple ignorance of ntsec). -- Ross Smith .. Pharos Systems, Auckland, New Zealand This has been a test of the emergency broadcasting system. If this had been a re

RE: File permission problems with new cygwin dll

2002-10-16 Thread Ross Smith
> From: Christopher Faylor [mailto:[EMAIL PROTECTED]] > > On Thu, Oct 17, 2002 at 11:09:31AM +1300, Ross Smith wrote: > >I just upgraded to the new cygwin dll and gcc, and I seem to > be running > >into some of the same problems reported by others. (Yes, I know nt

RE: File permission problems with new cygwin dll

2002-10-18 Thread Ross Smith
> From: Christopher Faylor [mailto:cgf@;redhat.com] > > On Thu, Oct 17, 2002 at 03:17:11PM +1300, Ross Smith wrote: > >If you take any command-line program that writes to stdout > -- plain old > >"hello world" will do fine -- compile it with gcc, and run it

RE: cygwin with opengl

2002-11-24 Thread Ross Smith
> From: James Shaw [mailto:[EMAIL PROTECTED]] > > You had two postings. The most recent said: > > I cannot compile a file.c where there is the > following > > include : > GL\glut.h GL\glu.h GL\gl.h It's probably the backslashes. -- Ross Smith ...

RE: Mixing / and \ path separators

2003-03-13 Thread Ross Smith
to use forward slashes, tell them to > specify the path name using windows specs like f:\cygwin\foo\bar, > or change the backslashes to slashes. Wouldn't cygwin_conv_to_posix_path() and its relatives be a more general solution? -- Ross Smith .. Pharos Systems, Aucklan

RE: Installing cygwin NOT from web

2003-03-13 Thread Ross Smith
All. > Click again, until it shows 'reinstall'. > Now, switch to Full view, and observe that every installed package is > marked as 'retrieve'. > > Tada - one populated cache. > > Note: this will redownload everything, even if it is already in the > c

RE: Installing cygwin NOT from web

2003-03-13 Thread Ross Smith
> From: Robert Collins [mailto:[EMAIL PROTECTED] > > On Fri, 2003-03-14 at 07:59, Ross Smith wrote: > > > From: Robert Collins [mailto:[EMAIL PROTECTED] > > > > > > On Fri, 2003-03-14 at 06:17, Charles D. Russell wrote: > > > > > But

RE: Mixing / and \ path separators

2003-03-13 Thread Ross Smith
> From: Christopher Faylor [mailto:[EMAIL PROTECTED] > > On Thu, Mar 13, 2003 at 04:51:24PM -0500, Christopher Faylor wrote: > >On Fri, Mar 14, 2003 at 08:46:13AM +1300, Ross Smith wrote: > >>> From: Christopher Faylor [mailto:[EMAIL PROTECTED] > >>> &

RE: Installing cygwin NOT from web

2003-03-13 Thread Ross Smith
> From: Robert Collins [mailto:[EMAIL PROTECTED] > > On Fri, 2003-03-14 at 09:10, Ross Smith wrote: > > > > No. > > > Charles said that setup *ignores* the caches and skips what is > > > installed. > > > I said that setup will redownload what is

Re: Comparative Performance of C++ Compilers (including gcc cygming special)

2004-04-13 Thread Ross Smith
Alex Vinokur wrote: Three extra jobs for copyfile.cpp, g++ (Mingw32 Interface), > No optimization. ^^^ So the results are completely meaningless. -- Ross Smith .. Pharos Systems, Auckland, New Zealand *** Divide by cucumber error. Please reinstall universe

RE: undefined reference to `__gxx_personality_sj0'

2002-02-24 Thread Ross Smith
> From: Dan Kyhl [mailto:[EMAIL PROTECTED]] > > yes maybe. > I installed and compiled gcc 3.03, but I get this error both > with 2.95.3 > and 3.03. > Maybe my different paths are not setup up correctly! I got the same error after installing gcc 303. It turned out that the static libstdc++ was s

RE: Next version of setup.exe

2002-02-25 Thread Ross Smith
> From: Robert Collins [mailto:[EMAIL PROTECTED]] > > We've branched the next version of setup.exe, and created a > snapshot for anyone willing to be our guinea pigs. > > It is accessible via > http://www.cygwin.com/setup-snapshots/setup-20020225.exe. > > Please use this, and report any bugs

RE: Help changing dir with spaces- Uncle!

2002-02-27 Thread Ross Smith
> From: Ehud Karni [mailto:[EMAIL PROTECTED]] > > On Wed, 27 Feb 2002 20:19:42 +0100, Jonathan Gift > <[EMAIL PROTECTED]> wrote: > > > > BTW, just how cool is Cygwin? First I heard of it was just > a short time ago. > > Really like having a great shell again? > > Cygwin is "cool"! I'm using i

RE: Strange behavior

2002-03-03 Thread Ross Smith
> From: Chuck Allison [mailto:[EMAIL PROTECTED]] > > I have a simple Rational number class and have discovered > weird behavior > with Cygwin's g++. If you look at the very short main program in file > rtest2.cpp, you will see by the output that g++ get's the > wrong answer for > > r1 / r2 ==

RE: /cygdrive wierdness

2002-03-06 Thread Ross Smith
> From: Chris January [mailto:[EMAIL PROTECTED]] > > Using Cygwin DLL 1.3.10. Likewise. (On Win2K.) > 1. Close all Cygwin programs > 2. Open bash > 3. Type: cd /cygdrive > 4. Type ls > I get a listing of C:\ instead > 5. Type bash > 6. Type: cd /cygdrive > 7. Type ls > I get a listing of availa

RE: /cygdrive wierdness

2002-03-07 Thread Ross Smith
> From: Chris January [mailto:[EMAIL PROTECTED]] > > > > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > > > Using Cygwin DLL 1.3.10. > > > > Likewise. (On Win2K.) > > > > > 1. Close all Cygwin programs > > > 2. Open bash > > > 3. Type: cd /cygdrive > > > 4. Type ls > > > I get a listing o

RE: /cygdrive wierdness

2002-03-07 Thread Ross Smith
> From: Larry Hall (RFK Partners, Inc) [mailto:[EMAIL PROTECTED]] > > At 05:30 PM 3/7/2002, Ross Smith wrote: > > > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > > > > > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > > &g

statfs() and file system types

2002-03-11 Thread Ross Smith
How do I interpret the statfs.f_type field? The header says "see below" but there's nothing below. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http:

RE: ./config -luser32 error, but libuser32.a is in the usr/lib/w32api directory

2002-03-20 Thread Ross Smith
> From: Dan Browning [mailto:[EMAIL PROTECTED]] > > At 08:56 PM 3/20/2002 -0500, you wrote: > >At 08:52 PM 3/20/2002, Dan Browning wrote: > > > > > >The "c:\cygwin\usr\lib\w32api" DOES actually exist in > windows, but I > > could not access that directory within the cygwin shell: > > > > > >$ c

RE: limit for # of items created with "new" ?

2002-09-24 Thread Ross Smith
four and a half gigabytes of memory! > [ lots of code snipped ] I also recommend that you start learning about the standard library; you're reinventing a lot of wheels here. -- Ross Smith .. Pharos Systems, Auckland, New Zealand "C++ is to programming as sex is to

RE: limit for # of items created with "new" ?

2002-09-24 Thread Ross Smith
> From: Emil Briggs [mailto:[EMAIL PROTECTED]] > > On Tuesday 24 September 2002 10:28 pm, Ross Smith wrote: > > From: Hans Horn [mailto:[EMAIL PROTECTED]] > > > > > // an element of a linked list > > > typedef struct node { > > > node (int _v

Small patch to opengl header

2002-09-26 Thread Ross Smith
s own version). The patch is trivial: 1093a1094 > #define GL_EXT_color_subtable 1 2053a2055 > #define GL_EXT_color_subtable 1 -- Ross Smith .. Pharos Systems, Auckland, New Zealand This has been a test of the emergency broadcasting system. If this

RE: ld -r errors with C++ objects

2003-08-14 Thread Ross Smith
one that I got before when I simply used ld -r. Are you using -Ur? If not, RTFM. If you are, I'm out of suggestions. Ross Smith .. Pharos Systems, Auckland, New Zealand "Remember when we told you there was no future? Well, this i

Re: gcc -dM -E -xc /dev/null & g++ -dM -E -xc /dev/null

2003-10-13 Thread Ross Smith
-xc flag, which tells the compiler that the following source file is to be read as C regardless of the file name. I'd expect exactly the same preprocessor output from both frontends in that case. -- Ross Smith .. Pharos Systems, Auckland, New Zealand "I virtually

Re: fopen with UTF-8 chars in filenames

2006-03-19 Thread Ross Smith
Igor Peshansky wrote: On Fri, 17 Mar 2006, Paul J. Lucas wrote: On Fri, 17 Mar 2006, Christopher Faylor wrote: Cygwin doesn't provide _wfopen. 1. I install Cygwin. 2. It's in stdio.h that gets installed as part of the Cygwin install. No, actually it's in stdio.h that's part of MinGW (and i

Re: "ls" finds file1 but "ls file1" does not

2005-05-10 Thread Ross Smith
he filename. Fix your script so that there are no spaces between "` and `". _ Thought it was clever of me to make that little ` visible to my old eyes. I always use $(...) instead; it's equivalent to `...` and much easier to read. -- Ross Smith .. P

Re: make fails always on invalid path "C:cygwinusrinclude"

2005-06-27 Thread Ross Smith
ve got "C:\cygwin\usr\include" where it should be either "C:\\cygwin\\usr\\include" or "C:/cygwin/usr/include". -- Ross Smith .. Pharos Systems, Auckland, New Zealand "Carelessly planned projects take three times longer to complete than expecte

Re: Reloaded Win XP, now need to reload cygwin - sorta

2007-06-24 Thread Ross Smith
Vidiot wrote: Jason reponded: The reason you need to update your permissions is because Windows ties permissions to a unique SSID for each user. When you reinstall, even if you set up the same user names, the SSIDs associated with them are different. Ah, a hidden thing I never have had to de

Re: Request for running a test application

2007-08-01 Thread Ross Smith
Here are a few more for you: This is a USB hard drive (NTFS formatted): Device Type: 7 Characteristics: 20 Volume Name: Serial Number : 483542439 Max Filenamelength : 255 Filesystemname : Flags : 700ff FILE_CASE_SENSITIVE_SEARCH : TRUE FILE_CASE_P

http://cygwin.com/ needs a link updated

2008-02-09 Thread Ross Smith
Corinna, http://cygwin.com/ mentions Latest Cygwin DLL release version is 1.5.25-7 but the 1.5.25-7 link refers to the 1.5.24 release. It should point to http://cygwin.com/ml/cygwin-announce/2007-12/msg00036.html right? -Ross -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simpl

Re: long_int vs int byte sizes

2014-04-07 Thread Ross Smith
65535 or larger, ULONG_MAX to be 4294967295 or larger, and ULLONG_MAX to be 18446744073709551615 or larger. C99 actually requires that? Wow. Modern times... It was already required in C89; the only change in C99 was the addition of long long. Ross Smith -- Problem reports: http

Re: [1.7] Invalid UTF8 while creating a file -> cannot delete?

2009-09-23 Thread Ross Smith
developers should feel obliged to go out of their way to do _better_ than Linux in this regard. -- Ross Smith -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Directory existence prevents .exe execution

2008-04-21 Thread Ross Smith
Luke, I think the fundamental point that you're missing here is that Cygwin is intended to be a subspecies of Unix, not a subspecies of Windows. I'm not familiar with Ici, but if it currently has both Windows and Unix versions, you should expect the Unix version, not the Windows version, to be

Upgrading to cygwin 1.7.6 vs gcc 4.5

2010-08-17 Thread Ross Smith
e is more important to me than the cygwin upgrade. Is there some way I'm missing to select both, or do I just have to accept that I can't upgrade anything else until the official gcc 4.5 is ready? -- Ross Smith -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: [ANNOUNCEMENT] Updated: gcc-6.3.0-2 (x86/x86_64)(Test)

2017-07-27 Thread Ross Smith
th: g++ thread.cpp -o thread && ./thread || echo Fail This will print Fail, indicating that the executable errored out. There's no other output. Sorry, I'm not familiar enough with gcc debugging to narrow down the error further. Code that uses raw pthreads instead of the

Re: [ANNOUNCEMENT] Updated: gcc-6.3.0-2 (x86/x86_64)(Test)

2017-07-27 Thread Ross Smith
On 2017-07-28 09:19, Marco Atzeri wrote: On 27/07/2017 23:04, Ross Smith wrote: gcc 6.3 works fine for me unless I use threads. Any C++ program that uses std::thread (and worked with the previous gcc) will fail. Simple example: #include #include void payload() { std

Re: [ANNOUNCEMENT] Updated: gcc-6.3.0-2 (x86/x86_64)(Test)

2017-07-27 Thread Ross Smith
On 2017-07-28 09:45, Ken Brown wrote: On 7/27/2017 5:39 PM, Ross Smith wrote: On 2017-07-28 09:19, Marco Atzeri wrote: On 27/07/2017 23:04, Ross Smith wrote: gcc 6.3 works fine for me unless I use threads. Any C++ program that uses std::thread (and worked with the previous gcc) will fail

Re: [ANNOUNCEMENT] Updated: gcc-7.3.0-2 (x86/x86_64)(Test)

2018-05-06 Thread Ross Smith
rimental::filesystem::v1::path::_M_split_cmpts()' /tmp/ccV1QAAo.o:expfs.cpp:(.text$_ZNSt12experimental10filesystem2v14pathC1IA10_cS2_EERKT_[_ZNSt12experimental10filesystem2v14pathC1IA10_cS2_EERKT_]+0x5d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::experimental::filesystem::v1::path::_M_spl

Re: GCC 7.3.0 -std=gnu++17 failed to getline() from std::ifstream

2018-06-10 Thread Ross Smith
line << "\n"; } } $ g++ demo.cpp -std=c++17 -o demo && ./demo Aborted (core dumped) It's crashing on the call to std::getline(). It only happens in -std=gnu++17 mode (or the equivalent gnu++1z, or c++17/1z). If I compile with -std=gnu++14 or lower it works. I'm u

Re: GCC 7.3.0 -std=gnu++17 failed to getline() from std::ifstream

2018-06-11 Thread Ross Smith
On 2018-06-12 02:17, Marco Atzeri wrote: On 6/11/2018 4:11 AM, Ross Smith wrote: On 2018-06-06 09:00, Marco Atzeri wrote: On 6/5/2018 10:32 PM, Ivan Shynkarenka wrote:   Hello I use x64 bit Cygwin and it failed in my home, work and Appveyor.  I add cygcheck.out with my environment. I&#

Re: GCC 7.3.0 -std=gnu++17 failed to getline() from std::ifstream

2018-06-12 Thread Ross Smith
s apparently an equivalent effect as 'extern template'. The attached patch for   /usr/lib/gcc/*-pc-cygwin/7.3.0/include/c++/bits/basic_string.h fixes this. Christian Thank you! I can confirm that the patch fixes this. Ross Smith -- Problem reports: http://cygwin.com/

ssh patches to fix installation issues

2002-10-23 Thread Ross Smith II
000. Maybe a .bash_profile could be created containing umask 022 when the user's home directory is first created. Just a thought. This is the culmination of 6 hours of list perusing, and hair pulling, so it's definitely "field tested". Hope this helps, Ross Smith ---

RE: Running Cron on XP (NT)

2002-10-27 Thread Ross Smith II
C:\cygwin\usr\doc\Cygwin\cron.README states cygrunsrv -I cron -p /usr/sbin/cron -a -D Does that fail for you? > From: [EMAIL PROTECTED] [mailto:cygwin-owner@;cygwin.com]On Behalf > Of Todd Shoenfelt > > I know I've seen documentation on setting up cygwin's cron daemaon, but > I can't seem to f

RE: Cygwin, GNU make and VC++ ?

2002-10-28 Thread Ross Smith II
> From: Of Igor Pechtchanski > > > > Anyway, we're making progress in being able to compile with CL.EXE, but > > we're having trouble with include files. We use the flag > > '-I/home/user/dg/include' to point to the include directory, but it > > can't find it. /home/user/dg/include makes no sense

RE: Trouble with RSA authentication

2002-10-31 Thread Ross Smith II
/usr/doc/Cygwin/openssh-3.4p1-5.README states that RSA authentication only works if sshd runs under a user account (as opposed to the SYSTEM account). To that end, I've created 2 shell scripts to allow one to "switch" from running sshd as SYSTEM to running as a user, and visa versa. These scripts

Updated sshd install scripts

2002-11-10 Thread Ross Smith II
I've updated my sshd install scripts to support named options: $ sshd_system.sh -? Usage: sshd_system.sh [options] options: -P|--port port -s|--sshd "sshd options"(quotes are required) -f|--config sshd_config_file (default is /etc/sshd_config) -c|--

RE: cmd.exe as telnetd login shell: "mode con LINES=24 COLS=80" has no effect..

2002-11-29 Thread Ross Smith II
Tom, The Windows Telnet Service fixes the MORE and DOSKEY problems you describe. If you want to disallow external telnet, you could block port 23, and require users to ssh in, and then run % telnet localhost Of course, they'll have to enter their NTLM username/password. You could even change t

expat-1.95.5: undefined reference to `XML_ParserCreate'

2002-12-22 Thread Ross Smith II
I'm trying to compile a simple expat program: #include #include int main() { XML_ParserCreate(NULL); return 0; } but I get: $ gcc -lexpat -L/lib expattest.c /cygdrive/...:expattest.c: undefined reference to `XML_ParserCreate' yet: $ nm /lib/libexpat.a | grep XML_ParserCreate T _XML_

RE: Burning cygwin distribution CDs

2002-12-27 Thread Ross Smith II
> From: Laurynas Biveinis > > I want to burn CDs with full cygwin distribution with sources and so on. > I've downloaded everything from > ftp://ftp.gwdg.de/pub/linux/sources.redhat/cygwin/release, but it takes > almost 1 GB. How should I burn it into 2 CDs so that setup.exe still > works correctly

[ANNOUNCEMENT] Updated: email-2.5.0-1

2006-06-26 Thread Ross Smith II
Version 2.5.0-1 of email has been uploaded. Email is a simple command-line program to send emails. It can be configured to use either your sendmail installation or directly via SMTP. It supports binary attachments, and a simple text based address book, with groups. Also, if GnuPG is installed, it

[ANNOUNCEMENT] New Package: email-2.3.0-2

2004-10-21 Thread Ross Smith II
xe to your system. Then, run setup and answer all of the questions. -Ross Smith - -- *** 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 t

[ANNOUNCEMENT] Updated: email 2.5.1-1

2007-07-19 Thread Ross Smith II
The cygwin email package has been updated to the current stable version 2.5.1. To ease packaging, the default configuration files that were stored in /etc/defaults/etc/email/ are now stored in /etc/defaults/etc/. The actual configuration files are still kept in /etc/email. Upstream changelog:

[ANNOUNCEMENT] Updated: cppunit-0.12.0-1

2007-10-26 Thread Ross Smith II
I've updated the version of cppunit to 0.12.0-1. This is a bugfix release. The Cygwin release is the vanilla version, no additional patches. === New in CppUnit 1.12.0: -- * Portability: - autogen.sh

[ANNOUNCEMENT] Updated: email-3.1.2-1

2009-03-31 Thread Ross Smith II
I've made a new version of 'email' available for installation. This is the most recent version of email available from http://www.cleancode.org/projects/email. Changes since 2.5.1: - Minimal TLS support - Added UTF-8 support for headers and message - Added a timeout option - Fixed bug that was c

[ANNOUNCEMENT] [1.7] Updated: email-3.1.2-2

2009-03-31 Thread Ross Smith II
I've made a new version of 'email' available for installation. This is the most recent version of email available from http://www.cleancode.org/projects/email. Changes since 2.5.1: - Minimal TLS support - Added UTF-8 support for headers and message - Added a timeout option - Fixed bug that was c