🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #132

pieces parts of C and C++

#132
From: Robert Forsman
Date: Mon, 18 Sep 1989 02:55
21 lines
1485 bytes
  Hi there.  After a minor configuration error I managed to get g++ up
and running on our 3/80s.  I am now trying to convert pieces of game
code to c++.  The first stage I took was to rename almost everything
to .cc extensions.  I do, however, need to link much of this with some
hideous old classic style C code so that those modules can be reused
on other architectures that don't have g++ yet.

  I assume that gcc and g++ can link as long as the link points are
are straight C function calls.  The main problem is with our standard
include files.  They have no prototyping in them.  I could go in as
root and "fix" them but this would break everyone else's code.  Is
there any way to have g++ search another include directory like
.../gnu/lib/g++-include?  Does it already?  Maybe I need to copy over
the include files into g++-include and edit them there?  Help . . .
suggestions please.

  Thanks, 
  THOTH out -=O=-
--
(U. of F.,  the only place where the CIS department has its own beach :)
Technical Details
Message-ID: <THOTH.89Sep17225525@shark.cis.ufl.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!aplcen!uakari.primate.wisc.edu!uflorida!bikini!thoth

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!aplcen!uakari.primate.wisc.edu!uflorida!bikini!thoth
From: thoth@shark.cis.ufl.edu (Robert Forsman)
Newsgroups: gnu.g++
Subject: pieces parts of C and C++
Message-ID: <THOTH.89Sep17225525@shark.cis.ufl.edu>
Date: 18 Sep 89 02:55:24 GMT
Sender: news@uflorida.cis.ufl.EDU
Distribution: gnu
Organization: /cis/lightning0/thoth/.organization
Lines: 21