This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Cross compile, no grmic/grmiregistry
- From: "Rui Wang" <Rui dot Wang at newcastle dot ac dot uk>
- To: <tj at laurenzo dot org>, "Ranjit Mathew" <rmathew at gmail dot com>
- Cc: <gcc at gcc dot gnu dot org>, <java at gcc dot gnu dot org>
- Date: Thu, 10 Nov 2005 14:10:01 -0000
- Subject: RE: Cross compile, no grmic/grmiregistry
TJ>You're right. When building the cross compiler, these items
TJ>are excluded. It was when going on from there to build the
TJ>native compiler from the cross compiler that they are included.
After all, I think you may be right. Cos when I tried to remove the
If Native ... End if from Makefile.am during building the cross
compiler,
The error is identical to the error of building the native compiler from
cross compiler. This is how it make me thinking.
Do you have any experience of the error
I got from building the native compiler? (you may reference my previous
email for more
Details)
mingw32-ar cru .libs/libgij.a gij.o
mingw32-ranlib .libs/libgij.a
creating libgij.la
(cd .libs && rm -f libgij.la && ln -s ../libgij.la libgij.la) /bin/sh
./libtool --tag=GCJ --mode=link /root/gccbuild/gcc/gcj
-B/root/gccbuild/gcc/ -B/extra/crossgcc/mingw32/bin/
-B/extra/crossgcc/mingw32/lib/ -isystem /extra/crossgcc/mingw32/include
-isystem /extra/crossgcc/mingw32/sys-include
-L/root/gccbuild/mingw32/libjava -ffloat-store -fno-omit-frame-pointer
-O2 -pipe -g0 -s -o jv-convert.exe --main=gnu.gcj.convert.Convert -rpath
/extra/crossgcc/mingw32/lib -shared-libgcc
-L/root/gccbuild/mingw32/libjava/.libs libgcj.la /root/gccbuild/gcc/gcj
-B/root/gccbuild/gcc/ -B/extra/crossgcc/mingw32/bin/
-B/extra/crossgcc/mingw32/lib/ -isystem /extra/crossgcc/mingw32/include
-isystem /extra/crossgcc/mingw32/sys-include -ffloat-store
-fno-omit-frame-pointer -O2 -pipe -g0 -s -o jv-convert.exe
--main=gnu.gcj.convert.Convert -shared-libgcc
-L/root/gccbuild/mingw32/libjava -L/root/gccbuild/mingw32/libjava/.libs
./.libs/libgcj.a -L/root/gccbuild/mingw32/libstdc++-v3/src
-L/root/gccbuild/mingw32/libstdc++-v3/src/.libs -L/root/gccbuild/gcc
-L/extra/crossgcc/mingw32/bin -L/extra/crossgcc/mingw32/lib
-L/extra/crossgcc/lib/../mingw32/lib -lmingw32 -lgcc -lmoldname
-lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32
-lgcc -lmoldname -lmingwex -lmsvcrt -lmingw32 -lgcc -lmoldname -lmingwex
-lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc
-lmoldname -lmingwex -lmsvcrt -Wl,--rpath
-Wl,/extra/crossgcc/mingw32/lib
./.libs/libgcj.a(natLogger.o):natLogger.cc:(.text$_ZN4java4util7logging6
Logger7getNameEv[java::util::logging::Logger::getName()]+0x0): multiple
definition of `java::util::logging::Logger::getName()'
./.libs/libgcj.a(logging.o):logging.lolist:(.text+0x2004): first defined
here
collect2: ld returned 1 exit status
make[2]: *** [jv-convert.exe] Error 1
make[2]: Leaving directory `/root/gccbuild/mingw32/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gccbuild/mingw32/libjava'
make: *** [all-target-libjava] Error 2
Press ENTER when you are ready to install...
Cheers
Rui