GCC Middle and Back End API Reference
collect2.h
Go to the documentation of this file.
1/* Header file for collect routines.
2 Copyright (C) 1998-2024 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
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
8Software Foundation; either version 3, or (at your option) any later
9version.
10
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.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
19
20#ifndef GCC_COLLECT2_H
21#define GCC_COLLECT2_H
22
23extern struct pex_obj *collect_execute (const char *, char **, const char *,
24 const char *, int flags);
25
26extern int collect_wait (const char *, struct pex_obj *);
27
28extern int file_exists (const char *);
29
30extern const char *c_file_name;
31extern struct obstack temporary_obstack;
32extern char *temporary_firstobj;
33extern bool may_unlink_output_file;
34
35extern void notice_translated (const char *, ...) ATTRIBUTE_PRINTF_1;
36extern void notice (const char *, ...) ATTRIBUTE_PRINTF_1;
37
38extern bool at_file_supplied;
39#endif /* ! GCC_COLLECT2_H */
struct obstack temporary_obstack
Definition collect2.cc:240
void notice(const char *,...) ATTRIBUTE_PRINTF_1
Definition collect-utils.cc:42
struct pex_obj * collect_execute(const char *, char **, const char *, const char *, int flags)
int file_exists(const char *)
Definition collect2.cc:422
const char * c_file_name
Definition collect2.cc:221
bool at_file_supplied
Definition collect2.cc:238
bool may_unlink_output_file
Definition collect2.cc:255
int collect_wait(const char *, struct pex_obj *)
Definition collect-utils.cc:101
void notice_translated(const char *,...) ATTRIBUTE_PRINTF_1
Definition collect2.cc:412
char * temporary_firstobj
Definition collect2.cc:241
static struct obstack obstack
Definition gcc.cc:357