This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with g++ on Tru64 v5.1


Hi all,

To aid debugging, I ran g++ -v test.cpp. Here's the result:

Reading specs from
/usr/local/opt/gcc/gcc311/lib/gcc-lib/alphaev68-dec-osf5.1/3.1.1/specs
Configured with: ../gcc-3.1.1/configure --prefix=/usr/local/opt/gcc/gcc311
--with-as=/usr/bin/as --with-ld=/usr/bin/ld --with-stabs --enable-threads
Thread model: single
gcc version 3.1.1
 /usr/local/opt/gcc/gcc311/lib/gcc-lib/alphaev68-dec-osf5.1/3.1.1/cc1plus
-v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=1 -Dunix
-D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__
-D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD
-Asystem=unix -Asystem=xpg4 -D__NO_INLINE__ -D__STDC_HOSTED__=1
-D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS -D__cplusplus
-Acpu=alpha -Amachine=alpha -D__alpha -D__alpha__ -D__alpha_ev6__
-Acpu=ev6 -D__alpha_bwx__ -Acpu=bwx -D__alpha_max__ -Acpu=max
-D__alpha_fix__ -Acpu=fix -D__alpha_cix__ -Acpu=cix -D__X_FLOAT
-D__EXTERN_PREFIX test.cpp -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS
-D__GXX_ABI_VERSION=100 -quiet -dumpbase test.cpp -version -o
/tmp//ccyFELQk.s
GNU CPP version 3.1.1 (cpplib)
GNU C++ version 3.1.1 (alphaev68-dec-osf5.1)
   compiled by GNU C version 3.1.1.
ignoring nonexistent directory
"/usr/local/opt/gcc/gcc311/alphaev68-dec-osf5.1/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/opt/gcc/gcc311/include/c++/3.1.1
 /usr/local/opt/gcc/gcc311/include/c++/3.1.1/alphaev68-dec-osf5.1
 /usr/local/opt/gcc/gcc311/include/c++/3.1.1/backward
 /usr/local/include
 /usr/local/opt/gcc/gcc311/include
 /usr/local/opt/gcc/gcc311/lib/gcc-lib/alphaev68-dec-osf5.1/3.1.1/include
 /usr/include
End of search list.
test.cpp: In function `int main()':
test.cpp:2: `cout' undeclared (first use this function)
test.cpp:2: (Each undeclared identifier is reported only once for each
function
   it appears in.)


Hope it provides more clues to those knowledgeable. Help is really
appreciated.

Wen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]