1 /* version.c -- binutils version information
2 Copyright 1991, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 2005, 2006, 2007, 2008, 2009, 2010
4 Free Software Foundation, Inc.
6 This file is part of GNU Binutils.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
27 /* Print the version number and copyright information, and exit.
28 This implements the --version option for the various programs. */
31 print_version (const char *name
)
33 /* This output is intended to follow the GNU standards document. */
34 /* xgettext:c-format */
35 printf ("GNU %s %s\n", name
, BFD_VERSION_STRING
);
36 printf (_("Copyright 2010 Free Software Foundation, Inc.\n"));
38 This program is free software; you may redistribute it under the terms of\n\
39 the GNU General Public License version 3 or (at your option) any later version.\n\
40 This program has absolutely no warranty.\n"));