Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm list-help: list-post: Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-apps AT sourceware DOT cygnus DOT com Message-ID: <20000530141637.10806.qmail@web121.yahoomail.com> Date: Tue, 30 May 2000 07:16:37 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Fwd: GDB cant start not GCC-Comiled progs! To: cygwin-apps AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1681692777-959696197=:10319" --0-1681692777-959696197=:10319 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Can anyone help Sergey with this? Note: forwarded message attached. ===== --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ --0-1681692777-959696197=:10319 Content-Type: message/rfc822 X-Apparently-To: earnie_boyd AT yahoo DOT com via mdd103.yahoomail.com X-Track: 1: 40 Received: from leopold.Physik.Uni-Augsburg.DE (137.250.77.29) by mta210.mail.yahoo.com with SMTP; 30 May 2000 07:06:35 -0700 (PDT) Received: from physik.uni-augsburg.de (pc123ep2.Physik.Uni-Augsburg.DE [137.250.77.123]) by leopold.Physik.Uni-Augsburg.DE (AIX4.3/8.9.3/8.9.1) with ESMTP id QAA37990 for ; Tue, 30 May 2000 16:06:28 +0200 Message-ID: <3933CA31 DOT 1B9690D5 AT physik DOT uni-augsburg DOT de> Date: Tue, 30 May 2000 16:03:29 +0200 From: "Sergey R. Grigoriev" Reply-To: Serguei DOT Grigoriev AT Physik DOT Uni-Augsburg DOT DE Organization: Uni-Augsburg X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: earnie_boyd AT yahoo DOT com Subject: GDB cant start not GCC-Comiled progs! References: <20000525174729 DOT 797 DOT qmail AT web122 DOT yahoomail DOT com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Content-Length: 1696 Hi Earnie, Sorry, I ask probably not in right place... The problem is: GDB distributed with last NetCygwin can't start not GNU-Compiled programs... It come with message: > "/cygdrive/c/virtuald/hello.exe": not in executable format: File format not > recognized I compiled Insight-5.0 (with CYGWIN under W98) and it can't do it too. But Insigth from Mumit-site (ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/ports/insight-19991101-cygb20.tar.gz) can it! (and GDB from mingw from Mumit can too). Can You forward my msg to right place? Serge P.S. To complile Insight it was nessecary to recompile sed, gdb (with my path) and load und install libtool. If anyone want to have it (recompiled sed,make,insight-5.0, Gygnus-configured libtool - all builds with GCC under W98) I will be happy to share. Boyd wrote: > > Thanks, Sergey. I'm forwarding your patch to the cygwin-apps list. > > Earnie. > --- "Sergey R. Grigoriev" wrote: > > Hello Earnie, > > > > I modified > > function readline() in read.c - as it was distributed in Net-CYGWIN > > to make it usable on Linux and Cygwin with DOS-maded makefiles > > > > ********* diff read.c read_org.c ********* > > > > 2114,2121d2113 > > < > > < /* > > < DOS EOL ("\r\n") Hack : make possible to use DOS and UNIX > > < makefiles without EOL-Convertion > > < */ > > < if(len!=0) if(p[len-1] == '\r') { p[len-1]='\0';len--;} > > < if(len >1) if(p[len-2] == '\r') { > > p[len-2]=p[len-1];p[len-1]='\0';len--;} > > < > > > > Serge > > __________________________________________________ > Do You Yahoo!? > Kick off your party with Yahoo! Invites. > http://invites.yahoo.com/ --0-1681692777-959696197=:10319--