> 2009/1/21 Joel Sherrill <joel.sherr...@oarcorp.com>: > I think this would have been useful on at least one project > in my history. :) > > Ian mentioned embedded systems in an earlier question > and I am still unsure what you require of the OS in terms > of services to work. Cygwin is very close to a "real UNIX" > from a programming viewpoint. > > + What do you require of the threading support? > + Network services? > + filesystem? > + etc
Hello. To work wrapper-compiler requires only libc, you can see it in the source. Compiler input/output implemented using mmap system call, and the process of language extension is like filtering the source - reading from one place of image and writing to another place of memory image. So I think compiler can compiled on every platform. (The problem with CygWin is that, my compiler requires file metadata in one place, but dirent struct is different on Win platform, but it is not hard to reimplement). Threading support is only deal with POSIX threads. You can create __threaded functions and __mutual varibles, wрich will be automatically locked and unlocked, before addressing. CRPC has it's own network protocol, based on BSD sockets and implemented in CRPC library. It is very easy, no external servicies are needed, as compiler helps with distinguishing remote functions (using 32-bit checksum calculated from the prototype text). > RTEMS is a single process, multithreaded RTOS with > a port of the FreeBSD TCP/IP stack. Do you think that > would that be sufficient to run on? > I thing it will be sufficient to run on it, but I have not ever tested on this systems. I will try to test on it. Am I answered you questions?