public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "doko at ubuntu dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/28698] [gcj] libgcj-bc only used when building shared libs, not executables
Date: Thu, 17 Aug 2006 22:40:00 -0000	[thread overview]
Message-ID: <20060817224000.27934.qmail@sourceware.org> (raw)
In-Reply-To: <bug-28698-5724@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from doko at ubuntu dot com  2006-08-17 22:40 -------
ecj.jar is from eclipse-3.2, copied the file to
http://people.ubuntu.com/~doko/ecj.jar

gcj-4.2 -v \
            -O2 -g -Wl,-Bsymbolic -shared -fPIC -fjni -findirect-dispatch \
            -o /tmp/ecj.jar.so /usr/share/java/ecj.jar
Using built-in specs.
Reading specs from /usr/lib/gcc/i486-linux-gnu/4.2.0/libgcj.spec
[...]
gcc version 4.2.0 20060817 (experimental) (Ubuntu 4.2-20060817-0ubuntu1)

gcj-4.2 -v \
            -O2 -g -Wl,-Bsymbolic -fPIC -fjni -findirect-dispatch \
            --main=org.eclipse.jdt.internal.compiler.batch.Main \
            -o /tmp/ecj /usr/share/java/ecj.jar
Using built-in specs.
Reading specs from /usr/lib/gcc/i486-linux-gnu/4.2.0/libgcj.spec
[...]

objdump -x /tmp/ecj.jar.so | grep NEEDED
  NEEDED      libgcc_s.so.1
  NEEDED      libgcj_bc.so.1
  NEEDED      libm.so.6
  NEEDED      libpthread.so.0
  NEEDED      librt.so.1
  NEEDED      libz.so.1
  NEEDED      libdl.so.2
  NEEDED      libc.so.6
objdump -x /tmp/ecj | grep NEEDED
  NEEDED      libgcc_s.so.1
  NEEDED      libgcj_bc.so.1
  NEEDED      libm.so.6
  NEEDED      libpthread.so.0
  NEEDED      librt.so.1
  NEEDED      libz.so.1
  NEEDED      libdl.so.2
  NEEDED      libc.so.6
  NEEDED      libgcj.so.8


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28698


  parent reply	other threads:[~2006-08-17 22:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-11 13:04 [Bug libgcj/28698] New: " debian-gcc at lists dot debian dot org
2006-08-17  1:24 ` [Bug libgcj/28698] " tromey at gcc dot gnu dot org
2006-08-17 22:40 ` doko at ubuntu dot com [this message]
2006-08-18 11:38 ` doko at ubuntu dot com
2006-08-22 23:34 ` tromey at gcc dot gnu dot org
2006-08-22 23:46 ` bryce at mckinlay dot net dot nz
2006-08-23  9:21 ` debian-gcc at lists dot debian dot org
2006-08-23 16:58 ` tromey at gcc dot gnu dot org
2006-08-31 17:24 ` tromey at gcc dot gnu dot org
2006-08-31 22:00 ` tromey at gcc dot gnu dot org
2006-09-01 16:16 ` tromey at gcc dot gnu dot org

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=20060817224000.27934.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).