This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to allow custom libgcj.spec flags at configure-time



Tom Tromey <tromey@redhat.com> writes:
> >>>>> "Adam" == Adam Megacz <patches@lists.megacz.com> writes:

> Adam> How about I commit with --with-spec (instead of --with-jc1-spec) and
> Adam> drop --with-lib-spec?

> I'm a bit reluctant to do this at all.  We don't want people to rely
> on it.  For instance, gcc hackers periodically talk about getting rid
> of specs entirely.  Then anybody relying on this will be screwed --
> whereas if we keep the spec stuff as an internal implementation
> detail, we don't need to worry.

Well, it doesn't have to go in the .spec file. But it would be nice to
be able to change the performance-tuning flags used on libgcj without
having to hack the Makefiles.

BTW, if we drop specs, how do you ensure that client applications get
built with the same performance-tuning flags as libgcj? Do you
hard-compile that option set into the compiler? I guess that would be
fine -- but in that case it would be nice to be able to add to this
hard-compiled set with a configure option.

  - a


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]