On Fri, Dec 30, 2005 at 10:58:16AM -0800, H. J. Lu wrote: > > One, this will not work at all libobjc or libgcj since they > > require lookups at runtime. > > Are you saying "gcc -static" doesn't work with libobjc and libgcj?
It certainly doesn't work with libgcj (well, you can link in libgcj.a, but it will almost certainly never work right, for some programs --whole-archive helps a bit, but for most programs doesn't). That's why Fedora stopped including any Java .a libraries many months ago. Jakub