- To: earnie_boyd at yahoo dot com
- Subject: GDB cant start not GCC-Comiled progs!
- From: "Sergey R. Grigoriev" <Serguei dot Grigoriev at Physik dot Uni-Augsburg dot DE>
- Date: Tue, 30 May 2000 16:03:29 +0200
- Organization: Uni-Augsburg
- References: <20000525174729.797.qmail@web122.yahoomail.com>
- Reply-To: Serguei dot Grigoriev at Physik dot Uni-Augsburg dot DE
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" <Serguei.Grigoriev@Physik.Uni-Augsburg.DE> 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/