3.3.1 GCJ Cross compiler configuration issues
Peter Blemel
pblemel@hotmail.com
Sat Apr 10 10:08:00 GMT 2004
I just wanted to follow up on my port. I disabled multilib and finally
got all the way through a build, after tweaking the various things I
mentioned previously. Splitting out the various java classes was a bust
due to class inter-dependencies. The security manager actually references
JFrame. I decided to fight that battle another day and went back to
building everything. Once I had a good build of libgcj I went back and did
a multilib build (and let it run all night :-)
Trying to link against the shared libs for the RTOS was an experience.
Adding -Wl,--call_shared to the link gave the linker grief. It took me a
bit to figure out how to use the linker configuration file, where I put in
my libraries. That's a little bit of a kludge given that when I pass the
build out to the team they may not have the RTOS on the same partion / path.
I'd like to be able to pass the RTOS install dir into the link
configuration script.
I've only got a half dozen undefined symbols left when I try to build
HelloWorld. I don't have fcntl. time. strdup, and what not. Those are
easy to write, but I'm out of steam and it's a holiday weekend. I'll tackle
that next week.
So, thanks again. I'm just a few symbols shy of trying to run HelloWorld
on my embedded box. I'll pass along the diffs that I used to get it to
compile.
Peter
_________________________________________________________________
Persistent heartburn? Check out Digestive Health & Wellness for information
and advice. http://gerd.msn.com/default.asp
More information about the Java-patches
mailing list