public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Fitzsimmons <fitzsim@redhat.com>
To: java-patches@gcc.gnu.org
Subject: FYI: build libgcj-tools.so with -fno-indirect-classes
Date: Thu, 06 Jul 2006 19:16:00 -0000	[thread overview]
Message-ID: <44AD6198.2000804@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

Hi,

I added -fno-indirect-classes to the libgcj-tools.so compilation flags so that 
linking a C++ ABI binary directly to libgcj-tools.so is supported.

Tom

2006-07-06  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* Makefile.am (libgcj_tools_la_GCJFLAGS): Add
	-fno-indirect-classes.
	* Makefile.in: Regenerate.
	* gcj/Makefile.in: Regenerate.
	* include/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.

[-- Attachment #2: libgcj-tools-indirect-fix.patch --]
[-- Type: text/x-patch, Size: 570 bytes --]

Index: Makefile.am
===================================================================
--- Makefile.am	(revision 115210)
+++ Makefile.am	(working copy)
@@ -236,7 +236,7 @@
 libgcj_la_LINK = $(LIBLINK)
 
 libgcj_tools_la_SOURCES = classpath/tools/tools.jar
-libgcj_tools_la_GCJFLAGS = $(AM_GCJFLAGS) -findirect-dispatch
+libgcj_tools_la_GCJFLAGS = $(AM_GCJFLAGS) -findirect-dispatch -fno-indirect-classes
 libgcj_tools_la_LDFLAGS = -rpath $(toolexeclibdir) \
  -version-info `grep -v '^\#' $(srcdir)/libtool-version`
 libgcj_tools_la_DEPENDENCIES = libgcj.la libgcj.spec

                 reply	other threads:[~2006-07-06 19:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=44AD6198.2000804@redhat.com \
    --to=fitzsim@redhat.com \
    --cc=java-patches@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).