From: Jesse S. <je...@cr...> - 2002-10-27 13:24:40
|
On Sat, 2002-10-05 at 22:25, Curt Arnold wrote: > > I've found a problem with static libs for gcc: even if the xml name of the > > lib is "x", while outtype="shared" correctly creates a libx.so, > > outtype="static" creates x.a, and not the expected libx.a. > > The loader will fail, of course, since it expects libx.*, not x.*. > > > > A simple workaround for this is to implement getOutputFileName in > > gcc/AbstractArLibrarian.java and have it return "lib" + > > super.getOUtputFileName(basename). I tested it and is solves my problem. > > I don't know though if it doesn't break other things, or if there is any > > ohter workaournd for my original problem? > > > > TIA, > > /sorin gherman > > > This has bit me as well, The above solution works for me, so here it is as a patch. Jesse -- Jesse Stockall je...@cr... |