adapted to use slc5 gcc462 and gcc472