You are not logged in.

#1 2005-02-07 10:48:07

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Downgrading GCC.

Hello everybody.

I've often played with the thought to dubt arch, just for the GCC version installed. I mean... is it my thing if i use to give a reference on a variable i just typecasted? I think it is, since if i cast explicit, i know that i do it. and i know that i give a reference on this.

GCC 3.4.3 doesn't accept this. It's just one out of hundreds of those flaws. I dislike moving exactly the same thing to another var, just for giving it by-reference to a function...

Anyone ever downgraded GCC on ARCH? I know i'll have to recompile complete glibc and so on as well... but is there anyone araound who has experience doing this? I know that i'll have to recompile every package i use on arch ...

// STi


Ability is nothing without opportunity.

Offline

#2 2005-02-07 11:04:47

vicious
Member
Registered: 2004-11-09
Posts: 113

Re: Downgrading GCC.

Well, you could just switch to CRUX like I did. CRUX 2.0 has GCC 3.3.3 by default, but you can easily upgrade it to GCC 3.3.5.

Offline

#3 2005-02-07 11:51:02

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Downgrading GCC.

I wouldnt ask here if i actually wanted to change my linux distribution once again.

// STi


Ability is nothing without opportunity.

Offline

#4 2005-02-07 12:44:34

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Downgrading GCC.

Don't mind vicious, he's just a troll who likes to try and get people to use Crux.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#5 2005-02-07 13:45:41

vicious
Member
Registered: 2004-11-09
Posts: 113

Re: Downgrading GCC.

miqorz wrote:

Don't mind vicious, he's just a troll who likes to try and get people to use Crux.

I'm not a troll. It might be irritating for you that I often refer to CRUX, but this not because I am trolling. CRUX is what I currently have on my PC, so it's natural to refer to it.

Offline

#6 2005-02-07 17:21:22

woodstock
Member
From: Toronto / Canada
Registered: 2004-11-21
Posts: 68

Re: Downgrading GCC.

You never learn do you vicious?

In just about every post you make here you suggest CRUX. Now I'm not going to put down the distro, but if someone as annoying, as childish, as ignorant as you are uses it, I personally see no reason what so ever to try CRUX. You're making your choice of distro look bad. So for everyone's sake and for CRUX sake, just stop trolling and get a life.

Besides, what kind of answer is "use Crux", for this persons post? How is that a helpful suggestion? Think that through, oh wait, that might just be to much of a challenge for the "all knowing" vicious. You egotistical moron!

Grow up!

On Topic:

It's been done in the past. I think there is a post about it somewhere on these forums. I'll look and if I find it I'll post you the link.


-- woodstock

Offline

#7 2005-02-07 17:29:14

woodstock
Member
From: Toronto / Canada
Registered: 2004-11-21
Posts: 68

Re: Downgrading GCC.

Ok,

I did a bit of snooping around and the best suggestion that I came across was to mess with GCC's PKGBUILD. You should (theoretically) just change the version numbers and run makepkg. I'm not totally sure if this will work because I haven't looked at the PKGBUILD myself.

There is a concern that many packages will be broken and will have to be rebuilt against the GCC version of your choice. If I understand correctly you should be able to run anything that doesn't link directly against any GCC 3.4 libs.

Good Luck.

P.S. I'll keep looking.


-- woodstock

Offline

#8 2005-02-07 21:05:02

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Downgrading GCC.

Use ABS to rebuild it using the older build files which can be found via the web interface of the CVS.

Oh yeah you may have to rebuild a few base packages (or not) with your down graded gcc to be safe. At least I would (things like glibc bin86 etc) maybe email judd and ask if there is any additional recompiling necessary when down grading gcc.


AKA uknowme

I am not your friend

Offline

Board footer

Powered by FluxBB