Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Mon, 16 Aug 1999 13:52:34 -0400 To: Jens Reimann Cc: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: Cygwin, NT and Nutcracker Message-ID: <19990816135233.B1405@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: Jens Reimann , cygwin-developers AT sourceware DOT cygnus DOT com References: <37B84C39 DOT 83BD96F5 AT pe-muc DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <37B84C39.83BD96F5@pe-muc.de>; from Jens Reimann on Mon, Aug 16, 1999 at 07:36:57PM +0200 I'm sorry to say that this is off-topic for the cygwin-developers mailing list. As the name implies, this list is intended for the discussion of developing cygwin itself. It is not a help desk for people with application problems. Please send this request to the general mailing list where I'm sure you will be helped as this issue has been rehashed many times in the past. Thank you. On Mon, Aug 16, 1999 at 07:36:57PM +0200, Jens Reimann wrote: >currently I'm working in a project where I have to port Unix source to >NT. The problem is that I don't want to use MS VC as compiler! Now i >started compiling my applications using Cygwin and Nutcracker. There >were some problems (syntax, defines, etc) but now I'm through and have >my applications running. > >The last problem which had to be fixes was, that Nutcracker defined to >stdio streams as follows: > >extern FILE *_iob; > >#define stdin (&_iob[0]) >#define stdout (&_iob[1]) >#define stderr (&_iob[2]) > >where gnu defines them in the include with one for each >thread. > >so when I linked I got the message symbol_iob not found. That's Ok. > >now I made a simple file called iob.c which contains: > >#include > >struct __sFILE * _iob; > >and compiled/linked a test application ... it worked ... > >does anyone have some comments on this?? Do you think it is save? ... >Any other ideas? > >thx > >Jens Reimann