Private email to carnold from sorin gherman (10/5/2002)
reposted to mailing list.
> I've downloaded (via CVS) and compiled the latest
version of CPPTASKS.
> great, by the way, thanks a lot for it!
> 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
> outtype="static" creates x.a, and not the expected
> The loader will fail, of course, since it expects
libx.*, not x.*.
> A simple workaround for this is to implement
> 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?
> /sorin gherman