public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH]: missing trailing slash in toplevel makefile
@ 2005-08-15 20:23 Christian Groessler
  2005-08-15 21:25 ` DJ Delorie
  2005-08-15 22:26 ` Hans-Peter Nilsson
  0 siblings, 2 replies; 10+ messages in thread
From: Christian Groessler @ 2005-08-15 20:23 UTC (permalink / raw)
  To: binutils; +Cc: bonzini

Hi,

pretty obvious.

Ok to apply, or should I report this somewhere else?

regards,
chris



2005-08-15  Christian Groessler  <chris@groessler.org>

	* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
	* Makefile.in: Regenerate.


Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/Makefile.in,v
retrieving revision 1.219
diff -u -r1.219 Makefile.in
--- Makefile.in 8 Aug 2005 09:20:58 -0000       1.219
+++ Makefile.in 15 Aug 2005 20:10:31 -0000
@@ -365,7 +365,7 @@
 CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@
 USUAL_CC_FOR_TARGET = ` \
   if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
-    echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc ; \
+    echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \
   else \
     if [ '$(host)' = '$(target)' ] ; then \
       echo $(CC); \
Index: Makefile.tpl
===================================================================
RCS file: /cvs/src/src/Makefile.tpl,v
retrieving revision 1.143
diff -u -r1.143 Makefile.tpl
--- Makefile.tpl        8 Aug 2005 09:21:05 -0000       1.143
+++ Makefile.tpl        15 Aug 2005 20:10:31 -0000
@@ -368,7 +368,7 @@
 CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@
 USUAL_CC_FOR_TARGET = ` \
   if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
-    echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc ; \
+    echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \
   else \
     if [ '$(host)' = '$(target)' ] ; then \
       echo $(CC); \


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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-15 20:23 [PATCH]: missing trailing slash in toplevel makefile Christian Groessler
@ 2005-08-15 21:25 ` DJ Delorie
  2005-08-16 20:47   ` Christian Groessler
  2005-08-15 22:26 ` Hans-Peter Nilsson
  1 sibling, 1 reply; 10+ messages in thread
From: DJ Delorie @ 2005-08-15 21:25 UTC (permalink / raw)
  To: chris; +Cc: binutils, bonzini


> Ok to apply, or should I report this somewhere else?
> 
> 2005-08-15  Christian Groessler  <chris@groessler.org>
> 
> 	* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
> 	* Makefile.in: Regenerate.

Ok to apply, but both gcc and src if you can please.

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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-15 20:23 [PATCH]: missing trailing slash in toplevel makefile Christian Groessler
  2005-08-15 21:25 ` DJ Delorie
@ 2005-08-15 22:26 ` Hans-Peter Nilsson
  2005-08-16 13:21   ` Christian Groessler
  1 sibling, 1 reply; 10+ messages in thread
From: Hans-Peter Nilsson @ 2005-08-15 22:26 UTC (permalink / raw)
  To: Christian Groessler; +Cc: binutils, bonzini

On Mon, 15 Aug 2005, Christian Groessler wrote:
> Hi,
>
> pretty obvious.

Hm somewhat, but is it needed?  ISTR things had changed such
that the slash isn't needed anymore.  Did something break or was
it just spotted by code inspection?

brgds, H-P

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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-15 22:26 ` Hans-Peter Nilsson
@ 2005-08-16 13:21   ` Christian Groessler
  2005-08-16 13:29     ` Paolo Bonzini
  2005-08-16 14:23     ` Hans-Peter Nilsson
  0 siblings, 2 replies; 10+ messages in thread
From: Christian Groessler @ 2005-08-16 13:21 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: binutils, bonzini

Hi,

On Mon, 15 Aug 2005, Hans-Peter Nilsson wrote:

> Hm somewhat, but is it needed?  ISTR things had changed such
> that the slash isn't needed anymore.  Did something break or was
> it just spotted by code inspection?

I'm compiling a tree with newlib and an old gcc inside.
I wasn't aware that newer gcc versions don't required the slash anymore.

But it doesn't hurt to have it either.

Ok to commit, or should I keep it locally?

regards,
chris


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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-16 13:21   ` Christian Groessler
@ 2005-08-16 13:29     ` Paolo Bonzini
  2005-08-16 20:45       ` Christian Groessler
  2005-08-16 14:23     ` Hans-Peter Nilsson
  1 sibling, 1 reply; 10+ messages in thread
From: Paolo Bonzini @ 2005-08-16 13:29 UTC (permalink / raw)
  To: Christian Groessler; +Cc: Hans-Peter Nilsson, binutils, bonzini


>I'm compiling a tree with newlib and an old gcc inside.
>I wasn't aware that newer gcc versions don't required the slash anymore.
>
AFAIK, you should always try the toplevel of your gcc tree first, even 
if it is older.

Paolo

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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-16 13:21   ` Christian Groessler
  2005-08-16 13:29     ` Paolo Bonzini
@ 2005-08-16 14:23     ` Hans-Peter Nilsson
  1 sibling, 0 replies; 10+ messages in thread
From: Hans-Peter Nilsson @ 2005-08-16 14:23 UTC (permalink / raw)
  To: Christian Groessler; +Cc: binutils, bonzini

On Tue, 16 Aug 2005, Christian Groessler wrote:
> Ok to commit, or should I keep it locally?

I'm not an approver, so just for the record I don't particuarly
mind, I was just curious how this broke for you.

brgds, H-P

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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-16 13:29     ` Paolo Bonzini
@ 2005-08-16 20:45       ` Christian Groessler
  0 siblings, 0 replies; 10+ messages in thread
From: Christian Groessler @ 2005-08-16 20:45 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Hans-Peter Nilsson, binutils, bonzini

On Tue, 16 Aug 2005, Paolo Bonzini wrote:

>
> >I'm compiling a tree with newlib and an old gcc inside.
> >I wasn't aware that newer gcc versions don't required the slash anymore.
> >
> AFAIK, you should always try the toplevel of your gcc tree first, even
> if it is older.

Yes, but my gcc version still is quite old...

regards,
chris


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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-15 21:25 ` DJ Delorie
@ 2005-08-16 20:47   ` Christian Groessler
  2005-08-17  7:13     ` Paolo Bonzini
  0 siblings, 1 reply; 10+ messages in thread
From: Christian Groessler @ 2005-08-16 20:47 UTC (permalink / raw)
  To: DJ Delorie; +Cc: binutils, bonzini

On Mon, 15 Aug 2005, DJ Delorie wrote:

>
> > Ok to apply, or should I report this somewhere else?
> >
> > 2005-08-15  Christian Groessler  <chris@groessler.org>
> >
> > 	* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash.
> > 	* Makefile.in: Regenerate.
>
> Ok to apply, but both gcc and src if you can please.

I can apply it in src, but I don't have write access to gcc. Can someone
else apply it in gcc?

regards,
chris


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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-16 20:47   ` Christian Groessler
@ 2005-08-17  7:13     ` Paolo Bonzini
  2005-08-17 15:54       ` Christian Groessler
  0 siblings, 1 reply; 10+ messages in thread
From: Paolo Bonzini @ 2005-08-17  7:13 UTC (permalink / raw)
  To: Christian Groessler; +Cc: DJ Delorie, binutils, bonzini


>I can apply it in src, but I don't have write access to gcc. Can someone
>else apply it in gcc?
>  
>
I'll take care of that.

Paolo

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

* Re: [PATCH]: missing trailing slash in toplevel makefile
  2005-08-17  7:13     ` Paolo Bonzini
@ 2005-08-17 15:54       ` Christian Groessler
  0 siblings, 0 replies; 10+ messages in thread
From: Christian Groessler @ 2005-08-17 15:54 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: DJ Delorie, binutils, bonzini

Hi,

On Wed, 17 Aug 2005, Paolo Bonzini wrote:

>
> >I can apply it in src, but I don't have write access to gcc. Can someone
> >else apply it in gcc?
> >
> >
> I'll take care of that.

Thanks. I've installed the patch in src.

regards,
chris


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

end of thread, other threads:[~2005-08-17 15:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-15 20:23 [PATCH]: missing trailing slash in toplevel makefile Christian Groessler
2005-08-15 21:25 ` DJ Delorie
2005-08-16 20:47   ` Christian Groessler
2005-08-17  7:13     ` Paolo Bonzini
2005-08-17 15:54       ` Christian Groessler
2005-08-15 22:26 ` Hans-Peter Nilsson
2005-08-16 13:21   ` Christian Groessler
2005-08-16 13:29     ` Paolo Bonzini
2005-08-16 20:45       ` Christian Groessler
2005-08-16 14:23     ` Hans-Peter Nilsson

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