This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Cross compile, no grmic/grmiregistry
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Rui Wang <Rui dot Wang at newcastle dot ac dot uk>
- Cc: gcc at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Wed, 09 Nov 2005 12:48:23 +0530
- Subject: Re: Cross compile, no grmic/grmiregistry
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <9366880017F98D4EA02E4412380B8202177619@moonraker.campus.ncl.ac.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rui Wang wrote:
> 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
[...]
> 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
[...]
> Am I using the wrong src/bin packages? Any help would be much appreciated!
It seems that both on trunk as well as the 4.0 branch,
we do not build jv-convert, grmic, etc. if the build is
not native. From the file "libjava/Makefile.am" on the
4.0 branch:
- ----------------------------- 8< -----------------------------
## For now, only on native systems. FIXME.
if NATIVE
bin_PROGRAMS = jv-convert gij grmic grmiregistry gcj-dbtool
endif
- ----------------------------- 8< -----------------------------
So this is expected behaviour at the moment.
HTH,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDcaK/Yb1hx2wRS48RAknqAJ4xLPplk5AE8FfIcTB7wKDeT3FQxgCdG6FJ
eYUCAZKwbz5w08rQ2HCJiFo=
=8l0s
-----END PGP SIGNATURE-----