Annotation of gcc/config/x-ncr3000, revision 1.1.1.1

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: 
                     19: # The svr4 reference port for the i386 contains an alloca.o routine
                     20: # in /usr/ucblib/libucb.a, but we can't just try to get that by
                     21: # setting CLIB to /usr/ucblib/libucb.a because (unfortunately)
                     22: # there are a lot of other routines in libucb.a which are supposed
                     23: # to be the Berkeley versions of library routines normally found in
                     24: # libc.a and many of these Berkeley versions are badly broken.  Thus,
                     25: # if we try to link programs with libucb.a before libc.a, those
                     26: # programs tend to crash.  To avoid this, we link with libc.a *before*
                     27: # linking with libucb.a.
                     28: 
                     29: CLIB=-lc /usr/ucblib/libucb.a
                     30: 
                     31: # We used to build all stages *without* shared libraries because that may make
                     32: # debugging the compiler easier (until there is a GDB which supports
                     33: # both Dwarf *and* svr4 shared libraries).
                     34: 
                     35: # But [email protected] says that redefining GCC_CFLAGS causes trouble,
                     36: # and that it is easy enough to debug using shared libraries.
                     37: # CCLIBFLAGS=-Bstatic -dn -g
                     38: # GCC_CFLAGS=-static -g -O2 -B./
                     39: 
                     40: INSTALL=cp
                     41: 
                     42: FIXINCLUDES=fixinc.svr4

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.