From: Jie Liu <lj8175@gmail.com>
To: java@gcc.gnu.org
Subject: error trying to exec 'ecj1': execvp: No such file or directory
Date: Fri, 03 Jun 2011 13:42:00 -0000 [thread overview]
Message-ID: <BANLkTimAoZ_uD4o0Ozab2+308+R9TRv4RDcfEw50h4fj1SCHmA@mail.gmail.com> (raw)
Hi,
I am trying to port gcj to RTEMS now and have got boehm-gc, libffi,
libjava compiled for RTEMS. But when I try to use i386-rtems-gcj to
compile HelloWorld for RTEMS after install, I got "error trying to
exec 'ecj1': execvp: No such file or directory" and don't know how to
fix it. Could somebody give me an help hand or an advice ? Very
Thanks.
The error information can be seen below:
i386-rtems-gcj -v --main=HelloWorld HelloWorld.java -o Hello
Using built-in specs.
Reading specs from /mnt/gcj/mytoolchain/lib/gcc/i386-rtems/4.7.0/libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
COLLECT_GCC=i386-rtems-gcj
COLLECT_LTO_WRAPPER=/mnt/gcj/mytoolchain/libexec/gcc/i386-rtems/4.7.0/lto-wrapper
Target: i386-rtems
Configured with: ../gcc-trunk/configure --enable-threads=rtems
--with-gnu-as --enable-multilib --enable-newlib-mb
--enable-newlib-iconv --with-gnu-ld --with-newlib --verbose
--with-system-zlib --disable-nls
--enable-version-specific-runtime-libs --enable-languages=c,c++,java
--target=i386-rtems --prefix=/mnt/gcj/mytoolchain/
--with-gmp=/mnt/gcj/gcj-rtems-work/gmpmpfrmpc
--with-mpfr=/mnt/gcj/gcj-rtems-work/gmpmpfrmpc
--with-mpc=/mnt/gcj/gcj-rtems-work/gmpmpfrmpc
Thread model: rtems
gcc version 4.7.0 20110409 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-fsaw-java-file' '-v' '-o' 'Hello'
'-fbootclasspath=./:/mnt/gcj/mytoolchain/share/java/libgcj-4.7.0.jar'
'-g1' '-mtune=i386' '-march=i386'
ecj1 HelloWorld.java -g1
-fbootclasspath=./:/mnt/gcj/mytoolchain/share/java/libgcj-4.7.0.jar
-g1 -fsource=1.5 -ftarget=1.5 -fzip-dependency /tmp/ccuWIrFF.zip
-fzip-target /tmp/cc7in4l3.jar
i386-rtems-gcj: error trying to exec 'ecj1': execvp: No such file or directory
make: *** [Hello] Error 1
Best Regards,
Jie
next reply other threads:[~2011-06-03 13:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-03 13:42 Jie Liu [this message]
2011-06-03 14:17 ` Dr Andrew John Hughes
2011-06-04 16:14 ` Jie Liu
2011-06-05 7:38 ` Jie Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTimAoZ_uD4o0Ozab2+308+R9TRv4RDcfEw50h4fj1SCHmA@mail.gmail.com \
--to=lj8175@gmail.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).