From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ba29a2398fe768bb X-Google-Attributes: gid1164f8,public X-Google-Thread: 109fba,5ac335de54bd72b5,start X-Google-Attributes: gid109fba,public From: Keith Rubin Subject: Re: Dec Alpha C++ Compiler and Templates Date: 1997/05/02 Message-ID: <3369E2AC.185F@mail.amsinc.com>#1/1 X-Deja-AN: 238874882 References: <3367A530.5AC0@mail.amsinc.com> <3369083A.774C3139@ambit.com> To: Bill Deegan Newsgroups: comp.sys.dec,comp.lang.c++ Bill Deegan wrote: > > Keith Rubin wrote: > > > > We are currently trying to port a C++ application to the Dec Alpha. > > We are heavily dependent on Templates and are having a lot of > > problems compiling and linking due to the large amount (measured > > in GBs!), and the time (measured in hours!) that we need to > > compile and link our code. We have tried a number of different > > compile options and have not had much success. Does anyone have > > any help for us, or is the Dec compiler just bad at handling > > Templates? > > Which version of the c++ compiler are you using? > > type : > /sbin/setld -i | grep -i cxx > > -Bill When I run the above command I get: CXXBASE550 installed DEC C++ (cxx) for Digital UNIX CXXMAN550 installed DEC C++ and class library manual pages CXXV4HDR550 installed DEC C++ header files for Digital UNIX V4.0 or later My (very basic) understanding of the problem may be that the Dec compiler uses the cfront compiler. I was doing similiar work on an HP a couple of years and we had the same problem with their compiler (which I understand also used cfront) and its poor performance with templates. We actually had HP engineers in-house working with us and they could not improve the performance. I think HP recently came out with a totally new compiler. Any ideas or suggestions are welcome. We are currently looking at the GNU compiler, and another company's compiler that runs on the DEC.