[Build-common-hackers] Bug#578303: Bug#578303: Splits CC into multiple env-var words

Jonas Smedegaard dr at jones.dk
Sun Apr 18 21:14:17 UTC 2010

severity 578303 wishlist
retitle 578303 would be nice if CC could hold part of commandline
tags 578303 wontfix

On Sun, Apr 18, 2010 at 09:39:12PM +0300, Peter Eisentraut wrote:

>Followup to #576967, here is a valid example of a multiword CC
>CC='ccache gcc'

That's abuse of the CC variable.  Only if treated as part of a command 
line (as opposed to a single command) will it work.

The CC variable is not supposed to hold a part of a commandline, but a 
single command.

As is documented in its man page, when ccache is used in an environment 
too large to compose the commandline by hand, use the alternative 
approach of symlinked commands instead of appending ccache in front of 
the actual compiler name.

Kind regards,

 - Jonas

* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20100418/4e2f30ba/attachment.pgp>

More information about the Build-common-hackers mailing list