Re: gcc-3.0 bug
- To: gcc@packages.debian.org
- Subject: Re: gcc-3.0 bug
- From: "Andrew 'ashridah' Pilley" <ashridah@pobox.com>
- Date: 20 May 2001 04:10:00 EST
- Message-id: <E151PDu-0001g6-00@mycrondo>
- Reply-to: "Andrew 'ashridah' Pilley" <ashridah@pobox.com>
- In-reply-to: <Pine.LNX.4.21.0105201054030.1714-100000@JaneHill>
- References: <Pine.LNX.4.21.0105201054030.1714-100000@JaneHill>
On Sun, 20 May 2001 11:02:11 +0300 (EEST), Juha Mäkinen said:
> My system is gnu/debian woody ( i.e. "testing" ). I got the gcc-3.0 during
> the latest upgrade. But when I try to test things with a hello-world type
> program, I get this
>
> gcc-3.0 test.cpp
> gcc-3.0: installation problem, cannot exec `cc1plus': No such file or
> directory
you're using the wrong binary to compile c++ applications.
while gcc-3.0 CAN do it, when given the necessary options, g++-3.0
will do that automatically.
you're probably missing the g++-3.0 package however, as
dpkg -S cc1plus gives me
ashridah@mycrondo:~$ dpkg -S cc1plus
g++-2.95: /usr/lib/gcc-lib/i386-linux/2.95.4/cc1plus
g++-3.0: /usr/lib/gcc-lib/i386-linux/3.0/cc1plus
>
> Now, this seems a debian-specific problem to me.
no. you just need the c++ compiler. you don't actually NEED g++ and
cc1plus to compile c applications, so gcc doesn't include them, just like
you don't get gcj or any of the other compilers with the gcc package,
they're separate.
>
> I repeat, I got this gcc-3.0 during an update/upgrade and auditing the
> packages gives me a clean bill of health. But, obviously, something is
> wrong.
if you're ever looking for a file, you CAN join the #debian channel on
irc.openprojects.net, and type /msg apt find <filename>
it'll usually tell you where the file came from. (it's a bot). don't forget
apt-cache search <keyword> either.
Andrew 'ashridah' Pilley
>
> Juha Mäkinen
> <juha.makinen@koti.tpo.fi>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: