Hi guys,

I've finished importing into svn a rshd implementation for Windows CE.
You'll find it under cegcc/tools/.

If you're interested in building it, it depends on PipeLib, a new
lib + driver combo for Windows CE that provides a CreatePipe
function for Windows CE, similar to the desktop version - Pipe ends are
regular files.  The driver doesn't need any special installation, just
copy it to \Windows\ on the device.  It gets activated on first usage,
and deactivated on last handle closed, so to remove it, just be sure there
isn't any app running with a pipe open, and just delete the dll.

The rshd demon is only basically tested, but I intend to use
it frequently.  I now need a few basic unix commands like rm/mkdir/cp,
ported to WinCE.  I'll probably copy/port the ush shell
from GNUWINCE.

Once I've proved myself that rshd+PipeLib is stable, I'll upload
sources and binaries at the download page.

Running PocketCMD.exe through rshd doesn't work correctly.  PocketCMD.exe
keeps printing out the prompt repeatedly.  I guess it is hardcoded to
have stdout redirected to the CON: devices - it could be a bug.
I think there is a bug in PocketConsole where if you block reading from
fileno(stdin) with ReadFile in a thread other than the main thread, and
the main thread kills this reader thread with TerminateThread, the CON:
device will not be released.  I get zombie consoles with the PipeLib
tester, if I kill the child process.  If someone ever tries this and
finds a bug in PipeLib that triggers this, I'll buy him a beer and
a cookie.  ;)

I'm doing these tools because they enable a better integration with
the dejagnu testsuite - used by binutils, gdb and gcc.  Currently I'm
using a Cygwin port of the synce tools, but they are a bit limiting.

Cheers,
Pedro Alves


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to