Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "I. Lange" <i.lange@tu-bs.de>
Subject: Who uses gcc 2.95.3 on alpha*-dec-osf* and is willed to supply the link line (g++ -v) ??
Date: Tue, 16 Dec 2003 14:59:22 +0100	[thread overview]
Message-ID: <brn37n$5g7$1@rzcomm2.rz.tu-bs.de> (raw)
In-Reply-To: <m3d6av4bdj.fsf@salmon.parasoft.com>


Asking g++ for the link line by using -v
was my first attempt.
But the output was only available from gcc 3.0.2
(and on my OSF/1 Tru64 Unix 5.1A)
The link line did not seem to be portable.
I think the 2.95.3 compiler requires different
libraries.

Could anyone supply me the output of
a working gcc 2.95.3 on alpha*-dec-osf*
by calling "g++ -v -o a a.cpp" for
the example "a.cpp" below :

#include <string>
#include <iostream>

using namespace std;

int main(int argc, char* argv[]) {
   string s(10, 'A');    // Create a string of ten A's.
   cout << s << endl;    // Print it.
   return 0;
}

??

Thanks in advance
- Ingolf -



      reply	other threads:[~2003-12-16 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-09 16:23 gcc 2.95.3, problem with ld on alphaev6-dec-osf5.1 I. Lange
2003-12-11 10:04 ` attempt to link manually by invoking collect2; __ldr_data and __Argv unresolved I. Lange
2003-12-11 15:34   ` Paul Pluzhnikov
2003-12-16 13:59     ` I. Lange [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox