libjava/configueの
extra_ldflags_libjava=-lws2_32
を
extra_ldflags_libjava="-lws2_32 -liconv"
に変更、
libjava/configueの
@BUILD_SUBLIBS_TRUE@ $(DLLTOOL) -d $^ -l $@ --dllname cyggcj-noncore-$(DLL_VERSION).dll
を
@BUILD_SUBLIBS_TRUE@ $(DLLTOOL) -d $^ -l $@ --dllname libgcj-noncore-$(DLL_VERSION).dll
に変更しました。
$ ../gcc-4.7-20130202/configure --enable-languages=c,c++,java --disable-sjlj-exceptions --with-dwarf2 --enable-shared --disable-win32-registry --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw --disable-bootstrap
--enable-libgcj --with-arch=i686 CFLAGS='-g -O2 -fomit-frame-pointer' CXXFLAGS='-g -O2 -fomit-frame-pointer' CFLAGS_FOR_TARGET='-g -O2 -fomit-frame-pointer' CXXFLAGS_FOR_TARGET='-g -O2 -fomit-frame-pointer'
$ make
gcj-dbtoolの実行j時にwindowsに文句を言われます。
gcj-dbtoolの実行に失敗してもビルドは成功したような振る舞いをします。
一応、libjava関連のdllはlibffi含めて、出来てます。mingw32/libffi/.libs/libffi-4.dll
mingw32/libffi/.libs/libffi.dll.a
mingw32/libjava/.libs/libgcj-13.dll
mingw32/libjava/.libs/libgcj-noncore-13.dll
mingw32/libjava/.libs/libgcj-noncore.dll.a
mingw32/libjava/.libs/libgcj-tools-13.dll
mingw32/libjava/.libs/libgcj-tools.dll.a
mingw32/libjava/.libs/libgcj.dll.a
mingw32/libjava/.libs/libgij-13.dll
mingw32/libjava/.libs/libgij.dll.a
mingw32/libjava/.libs/libjvm.dll
mingw32/libjava/.libs/libjvm.dll.a
mingw32/libjava/classpath/native/jni/java-math/.libs/libjavamath.dll
mingw32/libjava/classpath/native/jni/java-math/.libs/libjavamath.dll.a
mingw32/libjava/libgcj-noncore-dummy.dll.a
[0回]
PR