xref: /dflybsd-src/contrib/gcc-4.7/gcc/collect2.h (revision 0a8dc9fc45f4d0b236341a473fac4a486375f60c)
1e4b17023SJohn Marino /* Header file for collect/tlink routines.
2*95d28233SJohn Marino    Copyright (C) 1998, 2003, 2004, 2005, 2007, 2010, 2011, 2013
3e4b17023SJohn Marino    Free Software Foundation, Inc.
4e4b17023SJohn Marino 
5e4b17023SJohn Marino This file is part of GCC.
6e4b17023SJohn Marino 
7e4b17023SJohn Marino GCC is free software; you can redistribute it and/or modify it under
8e4b17023SJohn Marino the terms of the GNU General Public License as published by the Free
9e4b17023SJohn Marino Software Foundation; either version 3, or (at your option) any later
10e4b17023SJohn Marino version.
11e4b17023SJohn Marino 
12e4b17023SJohn Marino GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13e4b17023SJohn Marino WARRANTY; without even the implied warranty of MERCHANTABILITY or
14e4b17023SJohn Marino FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15e4b17023SJohn Marino for more details.
16e4b17023SJohn Marino 
17e4b17023SJohn Marino You should have received a copy of the GNU General Public License
18e4b17023SJohn Marino along with GCC; see the file COPYING3.  If not see
19e4b17023SJohn Marino <http://www.gnu.org/licenses/>.  */
20e4b17023SJohn Marino 
21e4b17023SJohn Marino #ifndef GCC_COLLECT2_H
22e4b17023SJohn Marino #define GCC_COLLECT2_H
23e4b17023SJohn Marino 
24e4b17023SJohn Marino extern void do_tlink (char **, char **);
25e4b17023SJohn Marino 
26e4b17023SJohn Marino extern struct pex_obj *collect_execute (const char *, char **, const char *,
27e4b17023SJohn Marino 					const char *, int flags);
28e4b17023SJohn Marino 
29e4b17023SJohn Marino extern int collect_wait (const char *, struct pex_obj *);
30e4b17023SJohn Marino 
31e4b17023SJohn Marino extern void dump_file (const char *, FILE *);
32e4b17023SJohn Marino 
33e4b17023SJohn Marino extern int file_exists (const char *);
34e4b17023SJohn Marino 
35e4b17023SJohn Marino extern const char *ldout;
36e4b17023SJohn Marino extern const char *lderrout;
37e4b17023SJohn Marino extern const char *c_file_name;
38e4b17023SJohn Marino extern struct obstack temporary_obstack;
39e4b17023SJohn Marino extern char *temporary_firstobj;
40e4b17023SJohn Marino extern bool vflag, debug;
41e4b17023SJohn Marino 
42e4b17023SJohn Marino extern void notice_translated (const char *, ...) ATTRIBUTE_PRINTF_1;
43e4b17023SJohn Marino extern void notice (const char *, ...) ATTRIBUTE_PRINTF_1;
44e4b17023SJohn Marino 
45e4b17023SJohn Marino #endif /* ! GCC_COLLECT2_H */
46