sim_rel with only portable codes.