This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross compile, no grmic/grmiregistry


Rui Wang wrote:

> 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

You've omitted the actual error.  The lines above are just generic "I'm
exiting now" messages, the actual cause of the problem is whatever
messages were printed right before this.

That aside since you're in libjava you're probably running into this:
<http://gcc.gnu.org/ml/java/2005-11/msg00004.html>.  Without that patch
you will get an error about multiple symbols in libgcj.a when linking. 
The patch was just only checked in yesterday, so if you're using a
release version or a snapshot you will have to manually patch, or "svn
up".

Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]