From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,551288287baf9a1c X-Google-Attributes: gid111c93,public From: James Macnicol Subject: Re: Compaq's c++ succesfully runs under Debian woody Date: 2000/04/09 Message-ID: <38efb943@news.adfa.oz.au>#1/1 X-Deja-AN: 608519836 References: <38E5D353.8A47DF26@chello.nl> <38EE2385.556615A8@chello.nl> X-Original-NNTP-Posting-Host: 131.236.1.1 X-Trace: 9 Apr 2000 08:57:01 +1000, 131.236.1.1 User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (Linux/2.3.42 (i686)) Newsgroups: comp.os.linux.alpha Abraham Theodorus Stolk wrote: > And cxx has problems finding stdlib.h. I have found that the Compaq C++ compiler *does* work on Debian 2.2 (potato). What you have to do is to update the config files for the compilers (both C and C++) with the scripts provided, called create-comp-config.sh which are in /usr/lib/compaq/{cxx-6.3.6.9,ccc-6.2.9.002-2}/alpha-linux/bin. Once you get that done you're set. Note that you will definitely need the Compaq binutils to link, even the latest binutils from Debian won't work (the linker falls over). I'm finding that porting to the new compiler will be a lot of work: lots of extra "std::" qualifiers to add (I'm using -std strict_ansi since using -std gnu breaks the qualified names I'm already using [error message is 'namespace "std" has no member "blah"']. It also seems very picky about pointers to functions as arguments to constructors etc. It should be great when I get it all to work, though. My previous experiments with the C compiler on RedHat/Alpha showed that gcc generate lousy, slow code in comparison. -- James Macnicol j-macnicol@adfa.edu.au