|
|
1.1 root 1: # Makefile additions for the NCR3000 as host system.
2:
3: # Using -O with the AT&T compiler fails, with a message about a missing
4: # /usr/ccs/lib/optim pass. So override the default in Makefile.in
5:
6: CCLIBFLAGS=
7:
8: # NCR3000 ships with a MetaWare compiler installed as CC, which chokes and
9: # dies all over the place on GCC source. However, the AT&T compiler,
10: # crusty as it is, can be used to bootstrap GCC. It can be found in
11: # /usr/ccs/ATT/cc. It is also used to compile the things that should
12: # not be compiled with GCC.
13:
14: CC = /usr/ccs/ATT/cc
15: OLDCC = /usr/ccs/ATT/cc
16:
17: # The rest is just x-i386v4.
18:
1.1.1.2 ! root 19: # Some versions of SVR4 have an alloca in /usr/ucblib/libucb.a, and if we are
! 20: # careful to link that in after libc we can use it, but since newer versions of
! 21: # SVR4 are dropping libucb, it is better to just use the portable C version for
! 22: # bootstrapping. Do this by defining ALLOCA.
1.1 root 23:
1.1.1.2 ! root 24: ALLOCA = alloca.o
1.1 root 25:
26: # We used to build all stages *without* shared libraries because that may make
27: # debugging the compiler easier (until there is a GDB which supports
28: # both Dwarf *and* svr4 shared libraries).
29:
30: # But [email protected] says that redefining GCC_CFLAGS causes trouble,
31: # and that it is easy enough to debug using shared libraries.
32: # CCLIBFLAGS=-Bstatic -dn -g
33: # GCC_CFLAGS=-static -g -O2 -B./
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.