This is the mail archive of the cygwin-apps@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fwd: GDB cant start not GCC-Comiled progs!


Can anyone help Sergey with this?

Note: forwarded message attached.


=====
---
   Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/




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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]