This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Problem with main routine during linking
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: Problem with main routine during linking
- From: Tom Tromey <tromey at redhat dot com>
- Date: 07 May 2001 20:50:04 -0600
- Cc: Martin Kahlert <martin dot kahlert at infineon dot com>, java at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10105071143480.1900-100000@mars.deadcafe.org>
- Reply-To: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> There's another good reason to change the --main link order...
Jeff> link commands with no objects, i.e.:
Jeff> gcj --main=Exam -lexam
Jeff> fail if `libexam.a' is a static archive.
That's a good point, and I think this would still fail if `main' was
in libgcj. I think changing the link order is the best approach.
Unfortunately, like Bryce says, the driver code is very complicated.
Martin, could you submit a PR for this problem? If not, tell me and I
will submit one.
Tom