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]
Other format: [Raw text]

Re: gcj questions



Tom

you wrote:

What do you mean?
You can re-run configure at the top level with different options.

Won't that reconfigure and recompile the entire tree? I'm just looking to make changes in libjava.

Mark> Is there any way to force reconfiguration from the libjava build
Mark> directory?

Re-run configure there.  Make sure you pick up the options you need
from config.status.

I've tried running "../gcc-3.0.1/libjava/configure" from my build tree libjava dir and gotten:

checking for exception model to use... configure: error: unable to detect exception model

>> Static linking is probably more robust.

Mark> Does this mean use gcj -static or is it something else?

It means gcj -static.

I just tried that on:

-rw-rw-r-- 1 markj markj 155 Nov 5 10:04 Hello.java
-rw-rw-r-- 1 markj markj 433 Jul 22 08:37 TestEnv.java

the stripped binaries were:

-rwxrwxr-x 1 markj markj 2295260 Nov 6 09:49 Hello
-rwxrwxr-x 1 markj markj 2295260 Nov 6 09:58 TestEnv

Are they the same size because the same java packages got linked in?

Mark



_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


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