Article View: gnu.gcc.bug
Article #946Re: Building GCC 2.2.2 on Dynix/ptx
From: Minh Tran-Le
Date: Sat, 15 Aug 1992 23:54
Date: Sat, 15 Aug 1992 23:54
97 lines
3568 bytes
3568 bytes
|From: The Postmaster <sysnet@cent1.lancs.ac.uk>
|Date: Wed, 12 Aug 92 14:31:03 BST
|
|Can anyone give me a recipe for how to build GCC 2.2.2 on a Sequent Symmetry
|running Dynix/ptx 1.3, please? I'm not having much luck using the existing
|i386/SystemV.3 configuration.
|
|Reply by mail direct, please, as I don't subscribe to this list.
|
|Thanks in advance for any help
|
|Alan
|
Here are the changes need for gcc-2.2.2 for sequent dynix/ptx 1.4.
You need to configure it as: i386-sequent-sysv
Minh Tran-Le.
---------------------------------------------------------------------------
*** ./config/i386ptx.h- Tue May 12 19:41:14 1992
--- ./config/i386ptx.h Tue Jun 2 11:01:48 1992
***************
*** 0 ****
--- 1,54 ----
+ /* Definitions for Intel 386 running Sequent Dynix 1.4.0
+ Specifically, this is for recent versions that support POSIX
+
+ Copyright (C) 1992 Free Software Foundation, Inc.
+
+ This file is part of GNU CC.
+
+ GNU CC is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ GNU CC is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNU CC; see the file COPYING. If not, write to
+ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+ /* Mostly it's like AT&T Unix System V.
+ * mtranle@intellicorp.com - Fri May 15 19:37:15 1992
+ */
+
+ #include "i386v.h"
+
+ /* Use crt0.o, not crt1.o, as a startup file. */
+ #undef STARTFILE_SPEC
+ #define STARTFILE_SPEC \
+ "%{pg:mcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}} crtbegin.o%s\
+ %{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp}"
+
+ #define ENDFILE_SPEC "crtend.o%s"
+
+ /* Library spec */
+ #undef LIB_SPEC
+ #define LIB_SPEC "-lc"
+
+ /* Specify predefined symbols in preprocessor. */
+ #undef CPP_PREDEFINES
+ #define CPP_PREDEFINES "-Dunix -Di386 -Di387"
+
+ #undef CPP_SPEC
+ #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} -D_SEQUENT_"
+
+ /* Assembler pseudo-op for shared data segment. */
+ #define SHARED_SECTION_ASM_OP ".shdata"
+
+ /* Although the .init section is used, it is not automatically invoked.
+ This because the _start() function in /lib/crt0.o never calls anything
+ from the .init section */
+ #define INVOKE__main
+
*** ./configure- Mon Mar 23 11:38:23 1992
--- ./configure Wed May 13 00:13:19 1992
***************
*** 215,220 ****
--- 215,226 ----
tm_file=seq386.h
fi
;;
+ i386-sequent-sysv*) # 80386 from Sequent running PTX
+ xm_file=xm-i386v.h
+ xmake_file=x-i386v
+ tm_file=i386ptx.h
+ tmake_file=t-svr3
+ ;;
i386-*-bsd)
xm_file=xm-i386.h
tm_file=i386bsd.h
-------
Technical Details
Message-ID:
<9208152358.AA17254@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!intellicorp.com!TRANLEReferences:
<4477.9208121331@central1.lancaster.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!intellicorp.com!TRANLE From: TRANLE@intellicorp.com (Minh Tran-Le) Subject: Re: Building GCC 2.2.2 on Dynix/ptx Message-ID: <9208152358.AA17254@life.ai.mit.edu> Sender: gnulists@ai.mit.edu Reply-To: tranle@intellicorp.com Organization: GNUs Not Usenet References: <4477.9208121331@central1.lancaster.ac.uk> Distribution: gnu Date: Sat, 15 Aug 1992 23:54:37 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 98