This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: 3.3.1 GCJ Cross compiler configuration issues
- From: Andrew Haley <aph at redhat dot com>
- To: "Peter Blemel" <pblemel at hotmail dot com>
- Cc: tromey at redhat dot com, java-patches at gcc dot gnu dot org
- Date: Sat, 10 Apr 2004 10:54:27 +0100
- Subject: Re: 3.3.1 GCJ Cross compiler configuration issues
- References: <BAY2-F105k3GR89h7wt00004987@hotmail.com>
Peter Blemel writes:
>
> 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.
Does it really? Gosh. We should fix that.
> 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.
Thanks.
Andrew.