]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/collect2.h
intl.c (fake_ngettext): New function.
[thirdparty/gcc.git] / gcc / collect2.h
CommitLineData
159b3be1 1/* Header file for collect/tlink routines.
9dcd6f09 2 Copyright (C) 1998, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
4283012f 3
1322177d 4This file is part of GCC.
4283012f 5
1322177d
LB
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
9dcd6f09 8Software Foundation; either version 3, or (at your option) any later
1322177d 9version.
4283012f 10
1322177d
LB
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14for more details.
4283012f
JL
15
16You should have received a copy of the GNU General Public License
9dcd6f09
NC
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
4283012f 19
88657302
RH
20#ifndef GCC_COLLECT2_H
21#define GCC_COLLECT2_H
2edfd4ee 22
159b3be1 23extern void do_tlink (char **, char **);
2edfd4ee 24
68ec3111 25extern struct pex_obj *collect_execute (const char *, char **, const char *,
d7f09764 26 const char *, int flags);
2edfd4ee 27
159b3be1 28extern void collect_exit (int) ATTRIBUTE_NORETURN;
2edfd4ee 29
1fff69c9 30extern int collect_wait (const char *, struct pex_obj *);
2edfd4ee 31
68ec3111 32extern void dump_file (const char *, FILE *);
2edfd4ee 33
159b3be1 34extern int file_exists (const char *);
d4058195
KG
35
36extern const char *ldout;
68ec3111 37extern const char *lderrout;
d4058195
KG
38extern const char *c_file_name;
39extern struct obstack temporary_obstack;
d4058195
KG
40extern char *temporary_firstobj;
41extern int vflag, debug;
42
159b3be1 43extern void error (const char *, ...) ATTRIBUTE_PRINTF_1;
0f667308 44extern void notice_translated (const char *, ...) ATTRIBUTE_PRINTF_1;
159b3be1
AJ
45extern void notice (const char *, ...) ATTRIBUTE_PRINTF_1;
46extern void fatal (const char *, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
47extern void fatal_perror (const char *, ...)
d4058195 48 ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
2edfd4ee 49
88657302 50#endif /* ! GCC_COLLECT2_H */