cannot setup g++

cannot setup g++

Post by Yuen Yiu Keun » Sun, 31 Dec 1899 09:00:00



I want to ask where to download and setup g++.
I have the following problem with my gcc compiler:

Quote:> ./configure

loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none needed
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc  ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.

How can I get it right.
Thanks.

 
 
 

cannot setup g++

Post by Camelia Nastas » Sun, 31 Dec 1899 09:00:00



> I want to ask where to download and setup g++.
> I have the following problem with my gcc compiler:

> > ./configure
> loading cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for POSIXized ISC... no
> checking for gcc option to accept ANSI C... none needed
> checking for c++... no
> checking for g++... no
> checking for gcc... gcc
> checking whether the C++ compiler (gcc  ) works... no
> configure: error: installation or configuration problem: C++ compiler
> cannot create executables.

you need to install egcs-c++ on your machine

--
Camelia Nastase


 
 
 

1. Need Help: "/usr/lib/setup/setup: cannot create /mnt/etc/fstab: directory nonexistent"

I recently tried to install Slack 7 on my Pentium 100Mhz, 16Mb RAM, 1Gb
HD, and every thing wa going fine until I reached "INSTALL" in the setup
application.

Here are the steps I followed:
1) I created a boot and a root disk (bare.i and color.gz disks) as my
old BIOS cannot boot from CD-ROM.

2) Typed fdisk /dev/hda (Primary IDE Drive, 528 Cyls, Size=1089) and
created 2 partition
(I removed old DOW/Win Partition using DOS Fdisk utility):
  Device    Boot   Start      End   Blocks   Id  System
  /dev/hda1     *    1      496        999904+  83  Linux native
 /dev/hda2        497      528        64512       82  Linux swap

I saved the partition layout, and typed "setup" to start the
installation procedure.

3) KEYBOARD, ADDSWAP, TARGET worked fine.
I formatted SWAP Partition and formatted (slow formats, 1 inode per 4096
bytes) the Target partition /dev/hda1.

4) In the SOURCE section of the setup utility the system found my CD-ROM
drive with Slackware CD inserted. I selected the slackware installation.

5) In the INSTALL section I selected "full" and the system start coping,
but about 10 seconds later it stops with the following messages:
  /mnt/usr: No such file or directory
  /mnt/tmp: No such file or directory
  /usr/lib/setup/setup: cannot create /mnt/etc/fstab: directory
nonexistent

Please help me.
Thank You

2. linuxthreads + alternate signal stack = ??

3. cannot setup printer and cd-rom under linux 1.1.52

4. "noht" disable HyperThreading

5. Cannot setup up modem

6. pcmcia setup

7. Cannot see 3C905 during FTP setup of Enorex 21164

8. How do I trace printer fault?

9. cannot login after ldap setup

10. SAMBA -> NT Cannot start any setup.exe from share

11. Linux setup cannot recognise slakware files on my MSDOS partition

12. Cannot ping second NIC on multi ethernet setup

13. Trident TGUI 9660/968x/968x cannot be setup with X