public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* classpath configure update?
@ 2011-11-28 16:00 Andreas Tobler
  2011-11-28 16:39 ` Mark Wielaard
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Tobler @ 2011-11-28 16:00 UTC (permalink / raw)
  To: java

Hi all,

I recently pushed a commit to gcc head and gcc-4.6 to fix the detection 
of FreeBSD-10.

http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00886.html

Now I see that I need to do that for libjava/classpath/configure too.

My question, how do I do that? Means, can I simply commit the fix to the 
gcc/libjava/classpath and don't care about upstream classpath?
Or how do I proceed?

Thanks for your help.
Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: classpath configure update?
  2011-11-28 16:00 classpath configure update? Andreas Tobler
@ 2011-11-28 16:39 ` Mark Wielaard
  2011-11-28 16:46   ` Andreas Tobler
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Wielaard @ 2011-11-28 16:39 UTC (permalink / raw)
  To: Andreas Tobler; +Cc: java, classpath

Hi Andreas,

On Mon, 2011-11-28 at 09:50 +0100, Andreas Tobler wrote:
> I recently pushed a commit to gcc head and gcc-4.6 to fix the detection 
> of FreeBSD-10.
> 
> http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00886.html
> 
> Now I see that I need to do that for libjava/classpath/configure too.
> 
> My question, how do I do that? Means, can I simply commit the fix to the 
> gcc/libjava/classpath and don't care about upstream classpath?
> Or how do I proceed?

Upstream classpath doesn't check in generated files like configure, so
if it is just the generated files, then nothing has to be done. If you
have a patch against configure.ac then please just post it to
java-patches@gcc.gnu.org and/or classpath-patches@gnu.org and we take it
from there. For changes that only apply to libjava/gcj there is a
libjava/classpath/ChangeLog.gcj to track those.

Thanks,

Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: classpath configure update?
  2011-11-28 16:39 ` Mark Wielaard
@ 2011-11-28 16:46   ` Andreas Tobler
  2011-11-28 18:39     ` Dr Andrew John Hughes
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Tobler @ 2011-11-28 16:46 UTC (permalink / raw)
  To: Mark Wielaard; +Cc: java, classpath

Hi Mark,

On 28.11.11 17:39, Mark Wielaard wrote:

> On Mon, 2011-11-28 at 09:50 +0100, Andreas Tobler wrote:
>> I recently pushed a commit to gcc head and gcc-4.6 to fix the detection
>> of FreeBSD-10.
>>
>> http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00886.html
>>
>> Now I see that I need to do that for libjava/classpath/configure too.
>>
>> My question, how do I do that? Means, can I simply commit the fix to the
>> gcc/libjava/classpath and don't care about upstream classpath?
>> Or how do I proceed?
>
> Upstream classpath doesn't check in generated files like configure, so
> if it is just the generated files, then nothing has to be done. If you
> have a patch against configure.ac then please just post it to
> java-patches@gcc.gnu.org and/or classpath-patches@gnu.org and we take it
> from there. For changes that only apply to libjava/gcj there is a
> libjava/classpath/ChangeLog.gcj to track those.

Well, it is a regenerated configure (which pulls in gcc toplevel 
libtool.m4 changes) and the config.rpath.
For the former I need to dive into cp sources to see how it works. For 
the latter I guess it is a normal patch.

Thanks,
Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: classpath configure update?
  2011-11-28 16:46   ` Andreas Tobler
@ 2011-11-28 18:39     ` Dr Andrew John Hughes
  2011-11-28 19:33       ` Andreas Tobler
  0 siblings, 1 reply; 5+ messages in thread
From: Dr Andrew John Hughes @ 2011-11-28 18:39 UTC (permalink / raw)
  To: Andreas Tobler; +Cc: Mark Wielaard, java, classpath

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

On 17:45 Mon 28 Nov     , Andreas Tobler wrote:
> Hi Mark,
> 
> On 28.11.11 17:39, Mark Wielaard wrote:
> 
> > On Mon, 2011-11-28 at 09:50 +0100, Andreas Tobler wrote:
> >> I recently pushed a commit to gcc head and gcc-4.6 to fix the detection
> >> of FreeBSD-10.
> >>
> >> http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00886.html
> >>
> >> Now I see that I need to do that for libjava/classpath/configure too.
> >>
> >> My question, how do I do that? Means, can I simply commit the fix to the
> >> gcc/libjava/classpath and don't care about upstream classpath?
> >> Or how do I proceed?
> >
> > Upstream classpath doesn't check in generated files like configure, so
> > if it is just the generated files, then nothing has to be done. If you
> > have a patch against configure.ac then please just post it to
> > java-patches@gcc.gnu.org and/or classpath-patches@gnu.org and we take it
> > from there. For changes that only apply to libjava/gcj there is a
> > libjava/classpath/ChangeLog.gcj to track those.
> 
> Well, it is a regenerated configure (which pulls in gcc toplevel 
> libtool.m4 changes) and the config.rpath.
> For the former I need to dive into cp sources to see how it works. For 
> the latter I guess it is a normal patch.
> 

configure is only present in gcj's copy of GNU Classpath.  config.rpath will
need patching in GNU Classpath, so please post a patch to classpath-patches@gnu.org.

How does the change to configure persist if you don't change the source configure.ac?

> Thanks,
> Andreas

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: classpath configure update?
  2011-11-28 18:39     ` Dr Andrew John Hughes
@ 2011-11-28 19:33       ` Andreas Tobler
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Tobler @ 2011-11-28 19:33 UTC (permalink / raw)
  To: Dr Andrew John Hughes; +Cc: Mark Wielaard, java, classpath

On 28.11.11 19:38, Dr Andrew John Hughes wrote:
> On 17:45 Mon 28 Nov     , Andreas Tobler wrote:
>> Hi Mark,
>>
>> On 28.11.11 17:39, Mark Wielaard wrote:
>>
>>> On Mon, 2011-11-28 at 09:50 +0100, Andreas Tobler wrote:
>>>> I recently pushed a commit to gcc head and gcc-4.6 to fix the detection
>>>> of FreeBSD-10.
>>>>
>>>> http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00886.html
>>>>
>>>> Now I see that I need to do that for libjava/classpath/configure too.
>>>>
>>>> My question, how do I do that? Means, can I simply commit the fix to the
>>>> gcc/libjava/classpath and don't care about upstream classpath?
>>>> Or how do I proceed?
>>>
>>> Upstream classpath doesn't check in generated files like configure, so
>>> if it is just the generated files, then nothing has to be done. If you
>>> have a patch against configure.ac then please just post it to
>>> java-patches@gcc.gnu.org and/or classpath-patches@gnu.org and we take it
>>> from there. For changes that only apply to libjava/gcj there is a
>>> libjava/classpath/ChangeLog.gcj to track those.
>>
>> Well, it is a regenerated configure (which pulls in gcc toplevel
>> libtool.m4 changes) and the config.rpath.
>> For the former I need to dive into cp sources to see how it works. For
>> the latter I guess it is a normal patch.
>>
>
> configure is only present in gcj's copy of GNU Classpath.  config.rpath will
> need patching in GNU Classpath, so please post a patch to classpath-patches@gnu.org.

Ok, will do.

> How does the change to configure persist if you don't change the source configure.ac?

libtool.m4 things get pulled in when running autoconf -I ../../ in 
gcc/libjava/classpath.

So for the configure stuff I do not have to care about classpath, only 
for config.rpath.

Thanks,
Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-28 19:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-28 16:00 classpath configure update? Andreas Tobler
2011-11-28 16:39 ` Mark Wielaard
2011-11-28 16:46   ` Andreas Tobler
2011-11-28 18:39     ` Dr Andrew John Hughes
2011-11-28 19:33       ` Andreas Tobler

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).