  We write down a generator program for the hadronic production of the
double-heavy baryons $\Xi_{cc}$, $\Xi_{bc}$ and $\Xi_{bb}$ according to
relevant publications. We name it as GENXICC and we test it by comparing its
numerical results with those in references. It is written in a
PYTHIA-compatible format and it can be easily implemented into PYTHIA. GENXICC
is also written in modularization manner, with {\bf make}, a GNU C compiler,
one may apply the generator to various situations or experimental environments
very conveniently.
