This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
successful build of 3.0.3 on i386-sequent-sysv4
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Cc: vdberj at learn dot unisa dot ac dot za, Eric_Dana at bmc dot com
- Date: Mon, 11 Feb 2002 13:37:22 -0800
- Subject: successful build of 3.0.3 on i386-sequent-sysv4
I have successfully built GCC 3.0.3 (with two small changes, below) on
DYNIX/ptx V4.6.1. Output of config.guess is i386-sequent-sysv4. I used
the native C compiler.
There are assembler instructions generated for libgcc that the native
assember doesn't recognized, so I used binutils 2.11.2. In order to
build that I needed to edit binutils-obj/bfd/config.h, after running
configure, to undefine HAVE_SYS_PROCFS_H, and after installation I
renamed 'as' to 'gas' in two locations.
Here's my configure line (I built all the default languages):
../gcc-3.0.3/configure \
--prefix=${INSTALL_LOCATION} \
--with-dwarf2 --with-gnu-as --with-gnu-ld \
--with-as=${BINUTILS}/bin/gas \
--with-ld=${BINUTILS}/bin/ld
On a 32-processor system I used "make -j 16".
I had to specify the use of DWARF v2 because there was an ICE in
dwarfout.c when compiling libgcc with the stage 1 compiler. DWARF v1 is
the default because that's what's used by the debuggers provided with
DYNIX/ptx.
Test results: http://gcc.gnu.org/ml/gcc-testresults/2002-02/msg00228.html.
I'll add this to the GCC 3.0 build status page.
Janis
--- gcc/config.gcc.orig Sat Nov 17 16:29:45 2001
+++ gcc/config.gcc Thu Feb 7 17:27:40 2002
@@ -1085,13 +1085,13 @@ i[34567]86-sequent-ptx2* | i[34567]86-se
;;
i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
xm_file="xm-alloca.h ${xm_file}"
+ tm_file="i386/ptx4-i.h"
if test x$gas = xyes
then
- tm_file="${tm_file} usegas.h"
+ tm_file="usegas.h ${tm_file}"
fi
xm_defines="USG POSIX SMALL_ARG_MAX"
xmake_file=x-svr4
- tm_file=i386/ptx4-i.h
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
install_headers_dir=install-headers-cpio
--- gcc/mklibgcc.in.orig Sun Nov 18 16:46:43 2001
+++ gcc/mklibgcc.in Fri Feb 8 10:11:56 2002
@@ -67,7 +67,7 @@ fi
# Build lines.
gcc_compile='$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) $(INCLUDES)'
-oldcc_compile='$(OLDCC) -DIN_LIBGCC1 $(CCLIBFLAGS) $(INCLUDES)'
+oldcc_compile='$(OLDCC) -DIN_GCC -DIN_LIBGCC1 $(CCLIBFLAGS) $(INCLUDES)'
make_compile='$(MAKE) GCC_FOR_TARGET="$(GCC_FOR_TARGET)" \
AR_FOR_TARGET="$(AR_FOR_TARGET)" \
AR_CREATE_FOR_TARGET="$(AR_CREATE_FOR_TARGET)" \