* Peter <[EMAIL PROTECTED]> [070226 16:14]:
> 
> On Mon, 26 Feb 2007, Vassilii Khachaturov wrote:
> 
> >>I have a compilation problem: when compiling opal-2.2.5 , g++ reports:
> >>'g++: Internal error: Killed (program cc1plus)'. g++ is 'g++ (GCC) 3.3.6
> >>(Debian 1:3.3.6-8)'. I would like to solve this without updating g++.
> >
> >I suggest to talk to the debian gcc team. If what they say is that you
> >need to update, do it :) note that it is possible to have >1 gcc on the
> >same machine, i.e., you can still have 3.3.6 as your default compiler, and
> >only use 4.x.x as a non-default one by setting CC=... accordingly in the
> >env.
> 
> The last time I updated the compiler alone it was like being reborn aout 3 
> times.

These days on Debian it's as simple as apt-get install g++-4.1
As you were told already, you can have multiple versions of gcc/g++
installed with ease.

$ dpkg -l g++\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
| / Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  g++            4.1.1-15       The GNU C++ compiler
pn  g++-2.95       <none>         (no description available)
ii  g++-3.3        3.3.6-15       The GNU C++ compiler
pn  g++-3.4        <none>         (no description available)
pn  g++-4.0        <none>         (no description available)
ii  g++-4.1        4.1.1-21       The GNU C++ compiler


Baruch

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to