jreese

oasspec.c

Jul 5th, 2012
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.68 KB | None | 0 0
  1. /* Specific flags and argument handling of the GOAS front-end.
  2.    Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
  3.    2007, 2008, 2009, 2010, 2011, 2012
  4.    Free Software Foundation, Inc.
  5.  
  6. This file is part of GCC.
  7.  
  8. GNU CC 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)
  11. any later version.
  12.  
  13. GNU CC 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.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with GCC; see the file COPYING3.  If not see
  20. <http://www.gnu.org/licenses/>.  */
  21.  
  22. #include "config.h"
  23. #include "system.h"
  24. #include "coretypes.h"
  25. #include "gcc.h"
  26. #include "opts.h"
  27.  
  28. #include "tm.h"
  29. #include "intl.h"
  30.  
  31. /* Note these function signatures lang_* are expected to be called 'lang',
  32.       do not change, reference for more interesting compiler drivers */
  33. void lang_specific_driver( struct cl_decoded_option **in_decoded_options,
  34.                unsigned int *in_decoded_options_count ATTRIBUTE_UNUSED,
  35.                int *in_added_libraries ATTRIBUTE_UNUSED )
  36. {
  37.   printf("HELLO FROM MR. LANGUAGE DRIVER!!\n\n");
  38.   return;
  39. }
  40.  
  41. /* Called before linking.  Returns 0 on success and -1 on failure.  */
  42. int lang_specific_pre_link( void )
  43. {
  44.   printf("HELLO FROM PRE-LINK!\n\n");
  45.   return 0;
  46. }
  47.  
  48. /* Number of extra output files that lang_specific_pre_link may
  49.        generate. Generally un-used...
  50. */
  51. int lang_specific_extra_outfiles = 0;
Advertisement
Add Comment
Please, Sign In to add comment