public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Anthony Green <green@redhat.com>
To: Per Bothner <per@bothner.com>
Cc: java-patches@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: Re: Java Patches: -fno-org-xml-sax and -fno-org-w3c-dom
Date: Sun, 01 Dec 2002 10:29:00 -0000	[thread overview]
Message-ID: <1038767413.31616.46.camel@escape> (raw)
In-Reply-To: <3DEA4FE3.3010801@bothner.com>

On Sun, 2002-12-01 at 10:07, Per Bothner wrote:
> That makes sense, though it might make sense to put them in
> a single shared library.

I like these two libraries, because if you don't add them at link time
libgcj will still be able to find them at runtime via Class.forName().

> This is not OK, IMO.  It's a bad precedent.  We can't keep
> adding random flags for specific packages.

Oh - I thought you had recently agreed to something like this on the
java list.

> First, note it's not just linking, but also compiling - i.e.
> controlling which jar(s) that the compiler searches.  By
> default the compiler should search the jars in the extension
> directory.

gcj does search the extension directory.

> Secondly, I think the choice as to which shared library to
> link should parallel which jars are compiled against.  If the
> compilation classpath options causes the standard sax/dom jars
> (in the standard extension directory) to be searched, then the
> linker should link against the standard sax/dom shared library(ies),
> and only then.

Well, what would you propose then?  Newer versions of Xerces (and
Tomcat, Xalan, etc) are unbuildable right now, so I would like to fix
this quickly.  Perhaps the simplest thing is to do what Jeff suggests
and never link these by default.

AG


  reply	other threads:[~2002-12-01 18:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1038718968.31616.23.camel@escape>
2002-12-01  9:55 ` Jeff Sturm
2002-12-01 10:21   ` Anthony Green
2002-12-01 15:07     ` Jeff Sturm
2002-12-01 10:17 ` Per Bothner
2002-12-01 10:29   ` Anthony Green [this message]
2002-12-01 11:04     ` Per Bothner
2002-12-20 14:07 ` Tom Tromey
2002-12-22  8:47   ` Anthony Green

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=1038767413.31616.46.camel@escape \
    --to=green@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=java-patches@gcc.gnu.org \
    --cc=per@bothner.com \
    /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).