🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.mandrake
Article #503

Mandrake 2.2.15, g++ 2.95.3, and C++ STL

#503
From: Chris Nelson
Date: Mon, 02 Oct 2000 00:00
25 lines
1814 bytes
I'm trying to compile a little C++ file on multiple UNIX platforms.  On
Solaris, Irix, and HP-UX, all seems well but on Mandrake Linux, g++
doesn't seem to be able to find the C++ STL components.  This stupid
little file:

  #include <stdio.h>
  #include <map>

  int main(int argc, char argv[])
  {
      printf("don't compile me on linux, cuz' I won't!\n");
      return 0;
  }

won't compile on Mandrake Linux.  FWIW, on Solaris, we're using g++
2.95.1 and find map in /usr/local/include/g++ and
/usr/local/include/g++-3 but those directories (or others like them)
don't exist on the Mandrake system.

Was there some re-org of the g++ STL between 2.95.1 and 2.95.3?  Where
should I expect to find the STL on Mandrake?

                                         Chris
-- 
As MIT is not "Massachusetts" neither is RPI "Rensselaer"
Technical Details
Message-ID: <39D8C655.F690823D@pinebush.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8a83,fc979ce140e17ca9,start
X-Google-Attributes: gidf8a83,public
X-Google-Thread: f9382,fc979ce140e17ca9,start
X-Google-Attributes: gidf9382,public
X-Google-Thread: 10ba33,fc979ce140e17ca9,start
X-Google-Attributes: gid10ba33,public
X-Google-Thread: ff9be,fc979ce140e17ca9,start
X-Google-Attributes: gidff9be,public
From: Chris Nelson <chris@pinebush.com>
Subject: Mandrake 2.2.15, g++ 2.95.3, and C++ STL
Date: 2000/10/02
Message-ID: <39D8C655.F690823D@pinebush.com>
X-Deja-AN: 677476003
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: client 970507863 206.0.193.60 (Mon, 02 Oct 2000 13:31:03 EDT)
Organization: Pinebush Technologies, Inc. (http://www.pinebush.com)
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 02 Oct 2000 13:31:03 EDT
Newsgroups: alt.os.linux.mandrake,gnu.g++.help,comp.os.linux,comp.os.linux.questions