3 Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc.
5 This file is part of GNU Libtool.
7 GNU Libtool is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of
10 the License, or (at your option) any later version.
12 GNU Libtool is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU Libtool; see the file COPYING. If not, a copy
19 can be downloaded from http://www.gnu.org/licenses/gpl.html,
20 or obtained by writing to the Free Software Foundation, Inc.,
21 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
32 printf ("Welcome to GNU libtool mixed C/Fortran demo!\n");
38 printf ("The C subroutine returned, claiming that 2*%d = %d\n",arg,cres);
41 printf ("The C subroutine is ok!\n");
43 printf("\nCalling the C wrapper routine...\n");
46 printf ("The C wrapper to the fortran subroutine returned,\n"
47 "claiming that 2*%d = %d\n",arg,fres);
50 printf ("The Fortran 77 subroutine is ok!\n");