tool cahin for various processor

how to make own tool chain in linux opensuse 11.1 and hoe to use it. i want to get the material for this so please help me