🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #2216

g++ for sVr3.2 on a 386

#2216
From: Paul de Bra
Date: Mon, 26 Feb 1990 11:21
44 lines
1852 bytes
Here is my list of changes to g++1.36.4 to get it working with
AT&T System V release 3.2u.

First of all, let me state that this applies to g++1.36.4 only.
An earlier attempt to get g++1.36.0 running failed miserably.

This list only indecates how to get g++ up and running if you already
have gcc with the gnu assembler and gnu-ld running, and converted the
libraries to gnu format. g++ will not work with the AT&T loader.

First do the make maketest but you have to create a directory config
and links to the config files from gcc yourself as system v does not
have symbolic links (yet).

Do config.g++ i386-sysv-gas

Makefile
- do NOT define COFFFLAGS, as we do not use coff.
- define INSTALL=cp and LINK=ln as indicated in the Makefile.
- do not define CLIB=-lPW as gcc does not use it.
- use MALLOC=malloc.o, just to be sure.
- define all to be crt1+.o g++ cc1plus ld++ g++filt

cplus-dem.c
- This file needs USG defined. I just put a define on line 1.
  It obviously needs a better fix.

ld.c
- you don't need sys/time.h and sys/resource.h (I just commented them
  out, but you should use an ifdef).

malloc.c
- needs defines from config.h, so include it. (This include is ifdef-ed
  emacs, but shouldn't)

That's it.
Type make and you're going...

Now, libg++ still has a few problems, for instance in String.h.
Don't know yet what's needed to fix that.

Paul.
(debra@research.att.com)
Technical Details
Message-ID: <1551@tuegate.tue.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!tuegate.tue.nl!eutws1!wsinpdb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!tuegate.tue.nl!eutws1!wsinpdb
From: wsinpdb@eutws1.win.tue.nl (Paul de Bra)
Newsgroups: gnu.g++.bug
Subject: g++ for sVr3.2 on a 386
Keywords: g++, 386, patches
Message-ID: <1551@tuegate.tue.nl>
Date: 26 Feb 90 11:21:06 GMT
Sender: news@tuegate.tue.nl
Organization: Eindhoven University of Technology, The Netherlands
Lines: 44