This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcj build issues.
Dave Korn wrote:
> Edward Peschko wrote:
>
>> 3. ecj not part of the build, hence causing at runtime:
>>
>> ld.so.1: ecj1: fatal: libgcc_s.so.1: version `GCC_4.2.0' not
>> found (required by file
>> /userdata/ebay/interface/FI/tools/beta/lib/libgcj.so.10)
>> ld.so.1: ecj1: fatal: libgcc_s.so.1: open failed: No such
>> file or directory
>> gcj: Internal error: Killed (program ecj1)
>> Please submit a full bug report.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>>
>> I can get through 1 and 2, but 3 has me stumped. Why isn't ecj
>> encorporated in the build (if it is a dependency), and where is an ecj
>> that works with gcc-4.4?
>
> Configure using --with-ecj-jar=/path/to/ecj.jar. Grab a copy from
> sourceware.org using the contrib/download_ecj script.
It's better just to go into the top-level directory and run the
contrib/download_ecj script. The build will find it there.
Andrew.