libstdc++ libtool lossage

Tom Tromey tromey@redhat.com
Thu Feb 21 20:02:00 GMT 2002


>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:

Alexandre> It has the unfortunate (?) side effect that the two
Alexandre> programs linked in libjava, rmic and rmiregistry, are now
Alexandre> explicitly linked with the shared libgcc, instead of only
Alexandre> inheriting that from libgcj

What about jv-convert and gij?
The former is a Java program.  The latter is "C++" but uses libgcj.

I assume gcj users won't have to do anything special.

Alexandre> +LIBLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@

Will using CXX and not CC here cause libstdc++ to be pulled in?  If
so, we don't want that.

Tom



More information about the Gcc mailing list