Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

no gcc

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
fanatico
n00b
n00b
Posts: 30
Joined: Sat Jul 30, 2011 5:08 pm

no gcc

  • Quote

Post by fanatico » Wed Aug 10, 2011 8:50 am

Hi.
I'am from Poland and i'am sorry for my English. I dont know how install gcc. I was deleted accidentally gcc and i dont know what now?

gcc-config -1
* gcc-config: Invalid switch! Run gcc-config without parametrs for help.
gcc-config -l
* gcc-config: Active gcc profile is invalid!
Top
desultory
Bodhisattva
Bodhisattva
User avatar
Posts: 9410
Joined: Fri Nov 04, 2005 6:07 pm

  • Quote

Post by desultory » Wed Aug 10, 2011 9:03 am

Download a suitable sys-devel/gcc tarball from http://tinderbox.dev.gentoo.org/ (hardened or default and so on), place it in PKGDIR (portageq envvar PKGDIR if you are unsure where that is), emerge -K sys-devel/gcc, then emerge sys-devel/gcc to build it with your chosen settings.
Top
fanatico
n00b
n00b
Posts: 30
Joined: Sat Jul 30, 2011 5:08 pm

  • Quote

Post by fanatico » Wed Aug 10, 2011 10:34 am

Hi.
When I try emerge –K sys-devel/gcc and emerge sys-devel/gcc I have this statement:
Checking whether the C compiler works ..no
Configure: error: in ‘/var/tmp/portage/dev-libs/mpc-0.9/work/mpc-0.9’:
Confiugure: error: C compiler cannot create executables
See ‘config.log’ for more details
…
This is not all, but I must write on different computer and this is very hard for me. My browser doesn’t work fine and I’am tired. Should I reinstall system? Is there some hope for me?:)
Top
Aquous
l33t
l33t
Posts: 700
Joined: Sat Jan 08, 2011 1:10 pm

  • Quote

Post by Aquous » Wed Aug 10, 2011 12:43 pm

There is hope, but we'll need to see the config.log. It should be in /var/tmp/portage/dev-libs/mpc-0.9/work/config.log if I'm not mistaken.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic