\documentclass{book}

\usepackage[xindy]{glossaries}
\makeglossaries

\newglossaryentry{N}
{
  name={N},
  description={The natural numbers.},
}


\begin{document}

Some text.

\glsaddallunused
\printglossaries

\end{document}

