1132718Skan/* Header file for collect/tlink routines. 2169689Skan Copyright (C) 1998, 2003, 2004, 2005 Free Software Foundation, Inc. 352284Sobrien 490075SobrienThis file is part of GCC. 552284Sobrien 690075SobrienGCC is free software; you can redistribute it and/or modify it under 790075Sobrienthe terms of the GNU General Public License as published by the Free 890075SobrienSoftware Foundation; either version 2, or (at your option) any later 990075Sobrienversion. 1052284Sobrien 1190075SobrienGCC is distributed in the hope that it will be useful, but WITHOUT ANY 1290075SobrienWARRANTY; without even the implied warranty of MERCHANTABILITY or 1390075SobrienFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1490075Sobrienfor more details. 1552284Sobrien 1652284SobrienYou should have received a copy of the GNU General Public License 1790075Sobrienalong with GCC; see the file COPYING. If not, write to the Free 18169689SkanSoftware Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 19169689Skan02110-1301, USA. */ 2052284Sobrien 2190075Sobrien#ifndef GCC_COLLECT2_H 2290075Sobrien#define GCC_COLLECT2_H 2352284Sobrien 24132718Skanextern void do_tlink (char **, char **); 2552284Sobrien 26169689Skanextern struct pex_obj *collect_execute (const char *, char **, const char *, 27169689Skan const char *); 2852284Sobrien 29132718Skanextern void collect_exit (int) ATTRIBUTE_NORETURN; 3052284Sobrien 31169689Skanextern int collect_wait (const char *, struct pex_obj *); 3252284Sobrien 33169689Skanextern void dump_file (const char *, FILE *); 3452284Sobrien 35132718Skanextern int file_exists (const char *); 3652284Sobrien 3790075Sobrienextern const char *ldout; 38169689Skanextern const char *lderrout; 3990075Sobrienextern const char *c_file_name; 4090075Sobrienextern struct obstack temporary_obstack; 4190075Sobrienextern char *temporary_firstobj; 4290075Sobrienextern int vflag, debug; 4390075Sobrien 44132718Skanextern void error (const char *, ...) ATTRIBUTE_PRINTF_1; 45132718Skanextern void notice (const char *, ...) ATTRIBUTE_PRINTF_1; 46132718Skanextern void fatal (const char *, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; 47132718Skanextern void fatal_perror (const char *, ...) 4890075Sobrien ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; 4990075Sobrien 5090075Sobrien#endif /* ! GCC_COLLECT2_H */ 51