pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
difficulties combining ccache with cwrappers
Hi,
I really love the cwrappers, they give a tremendous boost to the build
process! But I have problems when I use both cwrappers and ccache. Then
pkgsrc gets confused about which gcc to use.
Ubuntu 6.06 (yes, that old :)
trying to compile security/clamav
If I use
GCC_REQD=4.7
USE_CWRAPPERS=yes
PKGSRC_COMPILER= ccache gcc
I end up with the system compiler being used (gcc 4.0.3), although
$WRKDIR/.gcc/bin/gcc symlinks to /opt/pkgsrc/gcc47/bin/gcc. clamav does
not build with 4.0.3.
no ccache, no cwrappers: gcc 4.7.4
just ccache, no cwrappers: gcc 4.7.4
no ccache, just cwrappers: gcc 4.7.4
ccache + cwrappers: gcc 4.0.3
Do I need to change PKGSRC_COMPILER to something different when using
cwrappers?
Regards
Matthias
-----------------------------------------------------------------------
root@pkgsrc606:/opt/pkgsrc/usr/pkgsrc/security/clamav# WRKDIR=`bmake show-var VARNAME=WRKDIR`; ls -l $WRKDIR/.gcc/bin/
total 0
lrwxrwxrwx 1 root root 3 Mar 14 19:15 c++ -> g++
lrwxrwxrwx 1 root root 3 Mar 14 19:15 cc -> gcc
lrwxrwxrwx 1 root root 25 Mar 14 19:15 cpp -> /opt/pkgsrc/gcc47/bin/cpp
lrwxrwxrwx 1 root root 25 Mar 14 19:15 g++ -> /opt/pkgsrc/gcc47/bin/g++
lrwxrwxrwx 1 root root 25 Mar 14 19:15 gcc -> /opt/pkgsrc/gcc47/bin/gcc
Home |
Main Index |
Thread Index |
Old Index