]> gcc.gnu.org Git - gcc.git/blame - gcc/config/i386/linux-aout.h
i386.h (CPP_486_SPEC, [...]): New specs.
[gcc.git] / gcc / config / i386 / linux-aout.h
CommitLineData
bebc4663 1/* Definitions for Intel 386 running Linux-based GNU systems using a.out.
9ec36da5 2 Copyright (C) 1992, 1994, 1995, 1997, 1998 Free Software Foundation, Inc.
9e2fc7c0
RK
3 Contributed by H.J. Lu (hjl@nynexst.com)
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU CC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU CC; see the file COPYING. If not, write to
97aadbb9
RK
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA. */
9e2fc7c0
RK
21
22/* This is tested by i386/gas.h. */
23#define YES_UNDERSCORES
24
f17dfa93
RK
25#include <i386/gstabs.h>
26#include <linux-aout.h> /* some common stuff */
9e2fc7c0 27
bebc4663
JL
28#undef ASM_COMMENT_START
29#define ASM_COMMENT_START "#"
30
9e2fc7c0
RK
31/* Specify predefined symbols in preprocessor. */
32
33#undef CPP_PREDEFINES
8524774e 34#define CPP_PREDEFINES "-Dunix -Dlinux -Asystem(posix)"
9e2fc7c0
RK
35
36#undef CPP_SPEC
1228a9bd 37#define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
9e2fc7c0
RK
38
39#undef SIZE_TYPE
40#define SIZE_TYPE "unsigned int"
41
42#undef PTRDIFF_TYPE
43#define PTRDIFF_TYPE "int"
44
45#undef WCHAR_TYPE
46#define WCHAR_TYPE "long int"
47
48#undef WCHAR_TYPE_SIZE
49#define WCHAR_TYPE_SIZE BITS_PER_WORD
50
51/* Don't default to pcc-struct-return, because gcc is the only compiler,
52 and we want to retain compatibility with older gcc versions. */
53#define DEFAULT_PCC_STRUCT_RETURN 0
54
55#undef LIB_SPEC
56
57#if 1
58/* We no longer link with libc_p.a or libg.a by default. If you
bebc4663
JL
59 want to profile or debug the GNU/Linux C library, please add
60 -lc_p or -ggdb to LDFLAGS at the link time, respectively. */
9e2fc7c0
RK
61#define LIB_SPEC \
62"%{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} %{!ggdb:-lc} %{ggdb:-lg}"
63#else
64#define LIB_SPEC \
65"%{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
66 %{!p:%{!pg:%{!g*:-lc} %{g*:-lg -static}}}"
67#endif
68
69\f
70#undef LINK_SPEC
71#define LINK_SPEC "-m i386linux"
72
73/* Get perform_* macros to build libgcc.a. */
74#include "i386/perform.h"
This page took 0.263747 seconds and 5 git commands to generate.