This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libgcj and VxWorks...
- From: Tom Tromey <tromey at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: java at gcc dot gnu dot org
- Date: 28 Apr 2004 16:19:55 -0600
- Subject: Re: libgcj and VxWorks...
- References: <4090278F.8040104@avtrex.com>
- Reply-to: tromey at redhat dot com
David> Has anyone tried to port libgcj to VxWorks?
David> It is possible that I will be trying to do something like this in the
David> near future, and was wondering if anyone had tried it before, or knows
David> how difficult it might be.
I don't think anyone has done it. ISTR looking at it a little in the
distant past, far too distant for me to remember anything useful.
The difficulty of porting depends heavily on how similar the target OS
is to existing ports. Also there are some tricky areas; for instance,
you need to be able to teach the GC about the thread system (how to
stop threads, how to find the stack boundaries of all threads, etc).
Also you will probably need a fair amount of configury hacking.
There are some documents on the web site about porting the thread and
I/O layers. They are out of date :-(. But the general ideas are
pretty similar to when these were written.
Tom