[cfe-dev] [patch] Error using ccc with some configure scripts

Filipe Cabecinhas filcab at gmail.com
Wed Jul 9 16:01:21 PDT 2008


Hi,

ccc doesn't do what configure expects (gcc to do), when passed the  
flag -v or --version.

I hammered an ugly patch on it so configure would shut up (it just  
wants to know that the gcc is newer than 2.0 (preferably newer than  
3.4).
It's not nice and it isn't dynamic (the triple is just hardcoded in  
the string because I couldn't figure out how to extract it from clang).

One could also just exec gcc $arg when we're passed one of those and  
be done with it.


   - Filipe Cabecinhas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccc--version-hack.patch
Type: application/octet-stream
Size: 824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080710/7768ad0f/attachment.obj>


More information about the cfe-dev mailing list