Cross sections for He and Ne isotopes in natural Mg, Al, and Si, He isotopes in CaF2, Ar isotopes in natural Ca, and radionuclides in natural Al, Si, Ti, Cr, and stainless steel induced by 12-to 45-MeV protons