This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: I need help for changing the java driver (gcj and libs with a main())
- To: java at gcc dot gnu dot org
- Subject: RE: I need help for changing the java driver (gcj and libs with a main())
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Mon, 7 May 2001 23:28:12 -0000
> -----Original Message-----
> From: Martin Kahlert [SMTP:martin.kahlert@infineon.com]
> Sent: Monday, 7 May 2001 23:14
> To: gcc@gcc.gnu.org
> Cc: java@gcc.gnu.org
> Subject: I need help for changing the java driver (gcj and libs with
> a main())
>
> Hi!
> I am trying to solve the following problem:
> You can tell gcj, which java class contains the main function that
> should serve as the executable's main.
> The corresponding function is generated by an executable named
> jvgenmain during java's lang_specific_pre_link() function.
>
>
[Billinghurst, David (RTD)]
This is also a problem on cygwin, where there is a main in -lcygwin.
You need to juggle libraries to ensure you get the right one.
In this case the solution used by g77 also fails if the libabries
are in the wrong order.