From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,aa5e387401ca5f45,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-10-21 08:08:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: sheerazdaudi@hotmail.com (Sheeraz) Newsgroups: comp.unix.tru64 Subject: g++ precompiling (compiling with cxx) Date: 21 Oct 2002 08:08:40 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 211.22.54.170 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1035212920 11932 127.0.0.1 (21 Oct 2002 15:08:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Oct 2002 15:08:40 GMT Xref: archiver1.google.com comp.unix.tru64:8909 I've been having trouble precompiling with g++. My build environment precompiles on a sun box, and then the precompiled files are copied to a alpha tru-64 box where cxx is run to finish the build. However, when I run g++ with it's defaults it ends up choking on some of the files under the cxx header directory under include. I was wondering if anyone out there knows the flags that I need to provide g++ so that it can precompile correctly. I am running g++/gcc (version 2.95.3). And I am running cxx (Compaq C++ V6.2-024 for Compaq Tru64 UNIX V5.1M (Rev. 1907) ). The error I am getting is : /include/cxx/string.cc:173: warning: preprocessing directive not recognized within macro arg /include/cxx/string.cc:174: `#else' not within a conditional /include/cxx/string.cc:176: unbalanced `#endif' Any help would be appreciated. Thanks. -Sheeraz-