This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with main routine during linking


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]