This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Cross compile, no grmic/grmiregistry
- From: "Rui Wang" <Rui dot Wang at newcastle dot ac dot uk>
- To: <gcc at gcc dot gnu dot org>
- Date: Tue, 8 Nov 2005 13:50:05 -0000
- Subject: Cross compile, no grmic/grmiregistry
Hi all,
To transform my java RMI code to windows native code, I followed Ranjit Mathew's tutorial to compile gcc to a cross compiler.
http://ranjitmathew.hostingzero.com/phartz/gcj/bldgcj.html
The src packages I am using are:
binutils-2.16.1
gcc-4.0.2
The binary packages I am using are:
mingw-runtime-3.8
w32api-3.5
After successfully runing the cross-compiler shell scripts, then checked /bin directory, I found mingw32-gcc/g++. There however is no grmic/grmiregistry. Any ideas what is going on?
I then tried to compile gcc to a native compile, a error has been thrown out:
collect2: ld returned 1 exit status
make[2]: *** [jv-convert.exe] Error 1
make[2]: Leaving directory `/root/wingccbuild/mingw32/libjava'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/wingccbuild/mingw32/libjava'
make: *** [install-target-libjava] Error 2
Am I using the wrong src/bin packages? Any help would be much appreciated!
Best Regards
Rui Wang