[ECOS] Building dl_edb7xxx for cygwin?

Jonathan Larmour jlarmour@redhat.com
Mon Mar 26 08:19:00 GMT 2001


"Lewin A.R.W. Edwards" wrote:
> 
> Since I now have to run in WinNT, I can't use the Cirrus flash downloader
> app to get my ROM-built eCos app onto my board.

They don't provide a flash downloader that works in NT? Poor.

> What do I need to do in
> order to get Red Hat's port to build inside cygwin? If I just try "make" I
> get the following:
> 
> gcc    -c -o dl_edb7xxx.o dl_edb7xxx.c
> dl_edb7xxx.c: In function `main':
> dl_edb7xxx.c:64: warning: return type of `main' is not `int'
> gcc    -c -o io.o io.c
> io.c: In function `CharReady':
> io.c:139: `FIONREAD' undeclared (first use in this function)
> io.c:139: (Each undeclared identifier is reported only once
> io.c:139: for each function it appears in.)

I think you may be able to get away with changing CharReady to always
return 1, at the expense of it being in a busy loop.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



More information about the Ecos-discuss mailing list