They must be designed for optimal performance for a specific distance to this entrance pupil (i.e. with minimum aberrations for this distance). In a refracting astronomical telescope the entrance pupil is identical with the objective. This may be several feet distant from the eyepiece; whereas with a microscope eyepiece the entrance pupil is close to the back focal plane of the objective, mere inches from the eyepiece.