diff options
author | Richard Stallman <rms@gnu.org> | 1992-09-21 07:08:50 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-09-21 07:08:50 +0000 |
commit | 8ed694b11a09a4e757c660ca7c53612380e8fc0d (patch) | |
tree | 31291439f21b8d66cd735e10485156cc1e839967 /gcc/config/i386/x-ncr3000 | |
parent | 8005495c45a14c67edcc35f6f90c0d54fb21a236 (diff) | |
download | gcc-8ed694b11a09a4e757c660ca7c53612380e8fc0d.zip gcc-8ed694b11a09a4e757c660ca7c53612380e8fc0d.tar.gz gcc-8ed694b11a09a4e757c660ca7c53612380e8fc0d.tar.bz2 |
Get alloca using ALLOCA, not libucb.a.
From-SVN: r2200
Diffstat (limited to 'gcc/config/i386/x-ncr3000')
-rw-r--r-- | gcc/config/i386/x-ncr3000 | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gcc/config/i386/x-ncr3000 b/gcc/config/i386/x-ncr3000 index 6a4849d..d40db0f 100644 --- a/gcc/config/i386/x-ncr3000 +++ b/gcc/config/i386/x-ncr3000 @@ -16,17 +16,12 @@ OLDCC = /usr/ccs/ATT/cc # The rest is just x-i386v4. -# The svr4 reference port for the i386 contains an alloca.o routine -# in /usr/ucblib/libucb.a, but we can't just try to get that by -# setting CLIB to /usr/ucblib/libucb.a because (unfortunately) -# there are a lot of other routines in libucb.a which are supposed -# to be the Berkeley versions of library routines normally found in -# libc.a and many of these Berkeley versions are badly broken. Thus, -# if we try to link programs with libucb.a before libc.a, those -# programs tend to crash. To avoid this, we link with libc.a *before* -# linking with libucb.a. - -CLIB=-lc /usr/ucblib/libucb.a +# Some versions of SVR4 have an alloca in /usr/ucblib/libucb.a, and if we are +# careful to link that in after libc we can use it, but since newer versions of +# SVR4 are dropping libucb, it is better to just use the portable C version for +# bootstrapping. Do this by defining ALLOCA. + +ALLOCA = alloca.o # We used to build all stages *without* shared libraries because that may make # debugging the compiler easier (until there is a GDB which supports |