Posts: 2
Asqq
Joined: 06 May 2013
#1
Hi:)
I want to install gcc-4.8.I've typed:
apt-get install gcc-4.8
but i've got error:
gcc-4.8 : Depends: libgcc-4.8-dev (= 4.8.0-4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
when i tried to install libgcc-4.8-dev, it depended on a view more packages.
I also found gcc-4.8-source, compiled it and...I have no idea what to do. __{{emoticon}}__
Can You help me? Im not very experienced in linux but need this compiler very much.\
Details of my system:3.5.0-antix.2-486-smp #1 SMP Tue Jul 31 14:42:54 EEST 2012 i686 GNU/Linux
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
gcc-4.8 is presently in Debian experimental and if you install it from there, it is very likely to bork your install.

If you want to try it out at your own risk, you will need to add the Debian experimental repo to your /etc/apt/sources.list.d/debian.list then do an apt-get update followed by apt-get -t experimental install gcc-4.8

##Experimental
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
experimental main
Posts: 2
Asqq
Joined: 06 May 2013
#3
Thank You very much! I have it installed but...do you know how to set compilation? Of course,"gcc" doesn't work...