Re: MinGW-CE anyone?

2004-08-24 Thread Enzo Michelangeli
- Original Message - From: "Christopher Faylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 24, 2004 11:30 PM Subject: Re: MinGW-CE anyone? > On Tue, Aug 24, 2004 at 01:43:58PM +0800, Enzo Michelangeli wrote: > >Is there any packa

MinGW-CE anyone?

2004-08-23 Thread Enzo Michelangeli
Is there any package (gcc back-end) able to cross-compile, on a Cygwin-based host, C programs for PocketPC 2003 (with ARM CPU), in a way that does not require a non-MS support dll? In other words, something similar to the MinGW mode enabled by -mno-cygwin, but generating PocketPC executables instea

Re: 1.5.10-3 : strange crashes of gethostbyname() under gdb

2004-06-10 Thread Enzo Michelangeli
- Original Message - From: "Igor Pechtchanski" <[EMAIL PROTECTED]> To: "Enzo Michelangeli" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 07, 2004 4:25 AM Subject: Re: 1.5.10-3 : strange crashes of gethostbyname() under gdb > On

1.5.10-3 : strange crashes of gethostbyname() under gdb

2004-06-06 Thread Enzo Michelangeli
I'm not sure it's my setup, but since I upgraded to Cygwin 1.5.10-3 gdb crashes when executing trivial calls to gethostbyname: --- $ gdb --args test/q GNU gdb 2003-09-20-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by

Re: 1.5.9-1: weird console I/O behaviour compiling with -mno-cygwin

2004-04-23 Thread Enzo Michelangeli
test No.2 can't take place... Enzo - Original Message - From: "Enzo Michelangeli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 23, 2004 10:32 AM Subject: Re: 1.5.9-1: weird console I/O behaviour compiling with -mno-cygwin Hello, Please cons

Re: 1.5.9-1: weird console I/O behaviour compiling with -mno-cygwin

2004-04-22 Thread Enzo Michelangeli
Hello, Please consider the following testcase: -- begin weirdio.c --- #include #include int main(int argc, char *argv[]) { int rc; char buf[1024]; char *s = "read() done\n"; for(rc=1;rc>0;) { rc = read(0, buf, sizeof(buf) - 1); // sleep(0); temporarily uncommented write(1, s,

Re: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Enzo Michelangeli
From: "Dave Korn" To: Date: Thu, 15 Apr 2004 14:02:38 +0100 Subject: RE: Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock [...] >> Well, OK, here is the code, hereby placed in the public >> domain. Everybody >> can do with it whatever s/he likes; attribution will be >>

Quick hack to implement gethostbyname_r() through gethostbyname()+mutex lock

2004-04-15 Thread Enzo Michelangeli
Another self-followup :-) - Original Message - From: "Enzo Michelangeli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: ""Brian Ford"" <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 12:03 PM Subject: Re: 1.5.9-1: socket() appears N

Re: 1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Enzo Michelangeli
I wrote: - Original Message - From: "Enzo Michelangeli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: ""Brian Ford"" <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 11:16 AM Subject: Re: 1.5.9-1: socket() appears NOT to be thread-sa

Re: 1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Enzo Michelangeli
- Original Message - From: "Brian Ford" <[EMAIL PROTECTED]> To: "Enzo Michelangeli" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 1:05 AM Subject: Re: 1.5.9-1: socket() appears NOT to be thread-safe > On Wed, 14 Apr 2

1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Enzo Michelangeli
While porting to Cygwin the Linux application "sipd" (http://www.sxdesign.com/index.php?page=developer&submnu=sipd ), which uses pthreads, I noticed that socket() calls issued concurrently by several threads often failed, with strerror(errno) saying "operation not permitted". Once I protected all t