  The interactions of cosmic rays with the solar atmosphere produce secondary
particle which can reach the Earth. In this work we present a comprehensive
calculation of the yields of secondary particles as gamma-rays, electrons,
positrons, neutrons and neutrinos performed with the FLUKA code. We also
estimate the intensity at the Sun and the fluxes at the Earth of these
secondary particles by folding their yields with the intensities of cosmic rays
impinging on the solar surface. The results are sensitive on the assumptions on
the magnetic field nearby the Sun and to the cosmic-ray transport in the
magnetic field in the inner solar system.

High Energy Astrophysical Phenomena