------- Comment #2 from mrs at gcc dot gnu dot org 2010-04-21 18:52 ------- Found it:
if { [istarget "*-*-darwin*"] } { lappend cxxflags -shared-libgcc -lgcj -liconv } in libjava/testsuite/libjava.jni/jni.exp. This needs the proper -L added just before -liconv, or libgcj linked with -L... -liconv. So, the question is, which solution is desired? Normally I like adding -liconv to the libgcj link line, so that all consumers of libgcj just work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43839