gcj on FreeBSD - unresolved externals with static link
Jeff Sturm
jsturm@one-point.com
Wed Oct 10 13:34:00 GMT 2001
On 2001年10月11日, Jan Mikkelsen wrote:
> My fix has been to change the ar flags to be "rcP" which copmares full path
> names when adding objects to the library. Both list.o's make it in, and it
> links fine, and also runs. I haven't tested it extensively, but simple for
> loops, calls to System.out.println, System.out.flush and Thread.sleep seem
> fine.
That sounds right. Can you send your explanation, a ChangeLog entry and
this patch to libtool-patches@gnu.org? (That is the upstream source
for GCC libtool, patches must be accepted there first.)
> *** ltconfig Wed Oct 10 12:30:58 2001
> --- ltconfig~ Sat Jul 21 14:32:39 2001
> ***************
> *** 1124,1130 ****
> need_version=no
> need_lc=no
> need_lib_prefix=no
> - AR_FLAGS="rcP"
> ;;
> freebsd-*)
> library_names_spec='${libname}${release}.so$versuffix
> $libname.so$versuffix'
> --- 1124,1129 ----
Jeff
More information about the Java
mailing list