🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2172

Compiling with GCC 2.2.2

#2172
From: Kelly Sean David
Date: Mon, 28 Sep 1992 20:55
13 lines
1371 bytes
I feel dumb asking this but how do you compile C++ programs with GCC 2.2.2?
I know in UN*X the command is g++ ..., but the program does not exist in the
os/2 version.  I read the README file that comes with it and it mentioned
another program but I can't find any documentation of switches with any
of the programs (even gcc).  I want to use iostream.h in particular, and
accidentally used gcc the first time I tried to compile and got a bunch of
error messages about the header file (I assume that this is because gcc is a
C compiler).  I'm trying to compile a very small text-based program, and
have had no luck.  Also, is there any ftp-able documentation on link386?
I can use it (I've done c programs with gcc) but I don't know what switch
options are (aside frome the link386 /? list).  Any help would be appreciated.

-Sean Kelly
Technical Details
Message-ID: <1a7rf4INNcvi@coral.bucknell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!psuvax1!coral.bucknell.edu!coral.bucknell.edu!not-for-mail
References: <1992Sep25.073705.18715@mynet.no> <1992Sep25.173912.27117@awdprime.austin.ibm.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!psuvax1!coral.bucknell.edu!coral.bucknell.edu!not-for-mail
From: skelly@coral.bucknell.edu (Kelly Sean David)
Newsgroups: comp.os.os2.programmer
Subject: Compiling with GCC 2.2.2
Date: 28 Sep 1992 16:55:00 -0400
Organization: Bucknell University, Lewisburg, PA, USA
Lines: 14
Sender: skelly@bucknell.edu
Message-ID: <1a7rf4INNcvi@coral.bucknell.edu>
References: <1992Sep25.073705.18715@mynet.no> <1992Sep25.173912.27117@awdprime.austin.ibm.com>
NNTP-Posting-Host: coral.bucknell.edu