Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] problem with absolute paths to tools in ccache
@ 2006-11-24 14:33 "Matthias Gülck"
  0 siblings, 0 replies; 10+ messages in thread
From: "Matthias Gülck" @ 2006-11-24 14:33 UTC (permalink / raw)
  To: buildroot



> I simply have no need for it.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] problem with absolute paths to tools in ccache
@ 2006-11-24 16:37 Paugam Luc
  0 siblings, 0 replies; 10+ messages in thread
From: Paugam Luc @ 2006-11-24 16:37 UTC (permalink / raw)
  To: buildroot

Hi,

I mentioned to the list the same problem 1 month ago.
Here is the patch I use for building the toochain from builroot:

--- buildroot.orig/toolchain/ccache/ccache.mk	2006-06-26 07:15:03.000000000 +0000
+++ buildroot/toolchain/ccache/ccache.mk	2006-07-17 16:34:58.000000000 +0000
@@ -24,10 +24,6 @@
 	# Should probably patch things to use a relative path.
 	$(SED) "s,getenv(\"CCACHE_PATH\"),\"$(STAGING_DIR)/bin-ccache\",g" \
 		$(CCACHE_DIR1)/execute.c
-	# WARNING - this will break if the toolchain build dir is deleted.
-	$(SED) "s,getenv(\"CCACHE_DIR\"),\"$(CCACHE_DIR1)/cache\",g" \
-		$(CCACHE_DIR1)/ccache.c
-	mkdir -p $(CCACHE_DIR1)/cache
 	touch $(CCACHE_DIR1)/.patched
 
 $(CCACHE_DIR1)/.configured: $(CCACHE_DIR1)/.patched

Avoid hardcode path, and use .ccache directory from a user account instead.

Regards - Luc

-----Original Message-----
From: buildroot-bounces@uclibc.org [mailto:buildroot-bounces at uclibc.org] On Behalf Of Real.Magic at gmx.de
Sent: vendredi 24 novembre 2006 11:53
To: buildroot at uclibc.org
Subject: [Buildroot] problem with absolute paths to tools in ccache


Hello all!

I have got a problem because ccache is using absolute paths to the ccache working directory and to the tools like gcc.

To prevent ccache from using an absolute path to the ccache working directory, I have applied the following patch successfully:

http://www.busybox.net/lists/buildroot/2006-October/000355.html

 
But how can I prevent ccache from using absolute paths to tools like gcc?


Kind regards,

Matthias


--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] problem with absolute paths to tools in ccache
@ 2006-11-24 14:39 "Matthias Gülck"
  0 siblings, 0 replies; 10+ messages in thread
From: "Matthias Gülck" @ 2006-11-24 14:39 UTC (permalink / raw)
  To: buildroot

(Sorry for being too stupid to reply to this mailing list)

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Buildroot] problem with absolute paths to tools in ccache
@ 2006-11-24 10:53 Real.Magic at gmx.de
  2006-11-24 12:07 ` Bernhard Fischer
  2006-11-24 16:45 ` M. Edward Borasky
  0 siblings, 2 replies; 10+ messages in thread
From: Real.Magic at gmx.de @ 2006-11-24 10:53 UTC (permalink / raw)
  To: buildroot


Hello all!

I have got a problem because ccache is using absolute paths to the ccache working directory and to the tools like gcc.

To prevent ccache from using an absolute path to the ccache working directory, I have applied the following patch successfully:

http://www.busybox.net/lists/buildroot/2006-October/000355.html

 
But how can I prevent ccache from using absolute paths to tools like gcc?


Kind regards,

Matthias


-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

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

end of thread, other threads:[~2006-11-24 16:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-24 14:33 [Buildroot] problem with absolute paths to tools in ccache "Matthias Gülck"
  -- strict thread matches above, loose matches on Subject: below --
2006-11-24 16:37 Paugam Luc
2006-11-24 14:39 "Matthias Gülck"
2006-11-24 10:53 Real.Magic at gmx.de
2006-11-24 12:07 ` Bernhard Fischer
2006-11-24 14:06   ` "Matthias Gülck"
2006-11-24 14:10     ` Bernhard Fischer
2006-11-24 14:25       ` "Matthias Gülck"
2006-11-24 14:28       ` "Matthias Gülck"
2006-11-24 16:45 ` M. Edward Borasky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox