gccspec.c revision 52284
152284Sobrien/* Specific flags and argument handling of the C front-end. 252284Sobrien Copyright (C) 1999 Free Software Foundation, Inc. 352284Sobrien 452284SobrienThis file is part of GNU CC. 552284Sobrien 652284SobrienGNU CC is free software; you can redistribute it and/or modify 752284Sobrienit under the terms of the GNU General Public License as published by 852284Sobrienthe Free Software Foundation; either version 2, or (at your option) 952284Sobrienany later version. 1052284Sobrien 1152284SobrienGNU CC is distributed in the hope that it will be useful, 1252284Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of 1352284SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1452284SobrienGNU General Public License for more details. 1552284Sobrien 1652284SobrienYou should have received a copy of the GNU General Public License 1752284Sobrienalong with GNU CC; see the file COPYING. If not, write to 1852284Sobrienthe Free Software Foundation, 59 Temple Place - Suite 330, 1952284SobrienBoston, MA 02111-1307, USA. */ 2052284Sobrien 2152284Sobrien#include "config.h" 2252284Sobrien#include "system.h" 2352284Sobrien 2452284Sobrien/* Filter argc and argv before processing by the gcc driver proper. */ 2552284Sobrienvoid 2652284Sobrienlang_specific_driver (fn, in_argc, in_argv, in_added_libraries) 2752284Sobrien void (*fn)() ATTRIBUTE_UNUSED; 2852284Sobrien int *in_argc ATTRIBUTE_UNUSED; 2952284Sobrien char ***in_argv ATTRIBUTE_UNUSED; 3052284Sobrien int *in_added_libraries ATTRIBUTE_UNUSED; 3152284Sobrien{ 3252284Sobrien return; /* Not used for C. */ 3352284Sobrien} 3452284Sobrien 3552284Sobrien/* Called before linking. Returns 0 on success and -1 on failure. */ 3652284Sobrienint 3752284Sobrienlang_specific_pre_link () 3852284Sobrien{ 3952284Sobrien return 0; /* Not used for C. */ 4052284Sobrien} 4152284Sobrien 4252284Sobrien/* Number of extra output files that lang_specific_pre_link may generate. */ 4352284Sobrienint lang_specific_extra_outfiles = 0; /* Not used for C. */ 44