aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/x-iris3
blob: d4b55dde20a5d19cb8467c576265af49da2913a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Define CC and OLDCC as the same, so that the tests:
#	if [ x"$(OLDCC)" = x"$(CC)" ] ...
#
# will succeed (if OLDCC != CC, it is assumed that GCC is
# being used in secondary stage builds).  We need to pass
# the -Wf,-XNg1500 option so the compiler can compile the
# G++ file cp-parse.c.  Otherwise it complains about
# too many case statements.  -Olimit is so the user
# can use -O2.  Down with fixed size tables!

# In at least one version of Irix, v3.3.2, the compiler does not accept
# the -cckr option, so, lets try without it for all versions of Irix 3.x.
# The -cckr is to turn off strict ANSI checking.

CC		= $(OLDCC)
OPT		= -O1
OLDCC		= cc -Wf,-XNh2000,-XNg1500 -Olimit 3000 $(OPT)

# The bison output files are machine-indep,
# so different flags for a particular machine are not useful.
#BISONFLAGS	= -l

# -lmld is so we can link collect2 running native.
# -lmalloc is supposed to be faster than the normal malloc
CLIB		= -lmld -lmalloc

# Show we need to use the C version of ALLOCA
ALLOCA		= alloca.o