I need help for changing the java driver (gcj and libs with a main())

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Mon May 7 16:37:00 GMT 2001


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




More information about the Java mailing list