You are not logged in.

#1 2009-07-18 01:33:06

ph0tios
Member
Registered: 2008-02-23
Posts: 126

way to install gcc-4.2

I need to compile something against gcc-4.2; mdk3 in fact. I haven't found a patch to compile it against 4.4, and I'm not skilled enough to patch it myself. So I was wondering what would be the best way to install gcc-4.2 and cpp-4.2 and any other dependencies I might need.

Offline

#2 2009-07-18 02:00:25

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: way to install gcc-4.2

You can use this (http://aur.archlinux.org/packages/gcc-s … t/PKGBUILD) PKGBUILD as an example of how to build another gcc version that runs alongside the main gcc.

Offline

#3 2009-07-18 10:15:11

ph0tios
Member
Registered: 2008-02-23
Posts: 126

Re: way to install gcc-4.2

Thank you, good sir.

Offline

#4 2009-07-18 19:30:04

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: way to install gcc-4.2

In reverse issues maybe this is a helpful site:

http://archlinux.alouche.net/

Offline

#5 2009-07-18 20:24:27

ph0tios
Member
Registered: 2008-02-23
Posts: 126

Re: way to install gcc-4.2

Thanks man! I used the pkgbuild to install a snapshot of 4.2; which only required me to patch a little bit of the code by hand in MDK. But this site is awesome, I'm bookmarking it.

Offline

#6 2009-07-18 22:11:30

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: way to install gcc-4.2

Np.

But can write a small directory listing/counter script e.g. for this one, and you will be able to do it from command line :

http://archlinux.alouche.net/repo/core/os/i686/

Offline

Board footer

Powered by FluxBB