Apr 142010
 

at home I have a double slackware64-current multilib setup on multiple core machines so I gave a shot to icecream and gotta say it’s fine 🙂
but building 32bit apps like wine didn’t go through icecream and I had to change a line in /usr/bin/32/gcc (probably not the best solution) on both hosts to fix it

# Now find the "real" gcc
#REALCC=$(PATH="$(echo $PATH | sed "s#\(.*\):\?$STUBPATH/\?:\?#\1#")" which $(basename $0))
REALCC=/opt/icecream/bin/gcc
ls -l /opt/icecream/bin/
totale 0
lrwxrwxrwx 1 root root 14 2010-03-27 14:37 c++ -> /usr/bin/icecc
lrwxrwxrwx 1 root root 14 2010-03-27 14:37 cc -> /usr/bin/icecc
lrwxrwxrwx 1 root root 14 2010-03-27 14:37 g++ -> /usr/bin/icecc
lrwxrwxrwx 1 root root 14 2010-03-27 14:37 gcc -> /usr/bin/icecc
lrwxrwxrwx 1 root root 14 2010-03-27 14:37 x86_64-slackware-linux-c++ -> /usr/bin/icecc
lrwxrwxrwx 1 root root 14 2010-03-27 14:37 x86_64-slackware-linux-g++ -> /usr/bin/icecc
lrwxrwxrwx 1 root root 14 2010-03-27 14:37 x86_64-slackware-linux-gcc -> /usr/bin/icecc

my PATH before sourcing /etc/profile.d/32dev.sh

PATH=/root/bin:/opt/icecream/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin

after

PATH=/usr/bin/32:/usr/lib/qt/bin:/root/bin:/opt/icecream/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin