Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Specific flags and argument handling of the GOAS front-end.
- Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012
- Free Software Foundation, Inc.
- This file is part of GCC.
- GNU CC is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3, or (at your option)
- any later version.
- GNU CC is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with GCC; see the file COPYING3. If not see
- <http://www.gnu.org/licenses/>. */
- #include "config.h"
- #include "system.h"
- #include "coretypes.h"
- #include "gcc.h"
- #include "opts.h"
- #include "tm.h"
- #include "intl.h"
- /* Note these function signatures lang_* are expected to be called 'lang',
- do not change, reference for more interesting compiler drivers */
- void lang_specific_driver( struct cl_decoded_option **in_decoded_options,
- unsigned int *in_decoded_options_count ATTRIBUTE_UNUSED,
- int *in_added_libraries ATTRIBUTE_UNUSED )
- {
- printf("HELLO FROM MR. LANGUAGE DRIVER!!\n\n");
- return;
- }
- /* Called before linking. Returns 0 on success and -1 on failure. */
- int lang_specific_pre_link( void )
- {
- printf("HELLO FROM PRE-LINK!\n\n");
- return 0;
- }
- /* Number of extra output files that lang_specific_pre_link may
- generate. Generally un-used...
- */
- int lang_specific_extra_outfiles = 0;
Advertisement
Add Comment
Please, Sign In to add comment