You are not logged in.

#1 2013-11-15 19:46:10

Doctor Drive
Member
From: Ukraine
Registered: 2010-08-11
Posts: 167
Website

[SOLVED] Install gcc-4.4.3 alongside

Hi. I need to build Android ICS, but it can be build only with gcc 4.4.x
I already struggled with make-3.81, python2, java6 requirement.
The last issue, I hope is gcc.
Now, building Android requires not only gcc-multilib, but 4.4.3 version.

How can I install it alongside not to mess the whole environment?
To configure it for a shell session, or project directory.

And even arch rollback machine no longer contains the 4.x versions.
Is the only way left is building it from source?

Last edited by Doctor Drive (2013-11-16 13:09:25)

Offline

#2 2013-11-15 19:52:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Install gcc-4.4.3 alongside

Offline

#3 2013-11-15 20:03:57

Doctor Drive
Member
From: Ukraine
Registered: 2010-08-11
Posts: 167
Website

Re: [SOLVED] Install gcc-4.4.3 alongside

Thanks! I was searching for it in AUR by typing "gcc-4.4" "gcc4.4" "gcc-4.4.3" but wouldn't ever thought of gcc44.
Maybe I'll have some more questions about configuring tomorrow, if none I'll mark it as solved.

Last edited by Doctor Drive (2013-11-15 20:05:15)

Offline

#4 2013-11-15 20:11:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Install gcc-4.4.3 alongside

You could have searched for 'gcc', in package name only (not in the description).
I did

$ cower -sq ^gcc | grep 4
gcc-aarch64-linaro
gcc-aarch64-linaro-gnu
gcc-msp430
gcc34
gcc41
gcc42
gcc43
gcc43-multilib
gcc44
gcc44-multilib
gcc45
gcc45-multilib
gcc46
gcc46-multilib
gcc47
gcc4ti

Offline

#5 2013-11-16 12:34:54

Doctor Drive
Member
From: Ukraine
Registered: 2010-08-11
Posts: 167
Website

Re: [SOLVED] Install gcc-4.4.3 alongside

Thanks. I wasn't aware of cower app and searched in aur.archlinux.org via web browser.
Now the question is, how to tell specific project to use specific version of gcc?
I haven't written the makefiles and there are lots of them in the project structure.

Offline

#6 2013-11-16 12:39:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Install gcc-4.4.3 alongside

Doctor Drive wrote:

Now the question is, how to tell specific project to use specific version of gcc?
I haven't written the makefiles and there are lots of them in the project structure.

No idea. Google suggested e.g.
http://stackoverflow.com/questions/3698 … c-in-linux
http://stackoverflow.com/questions/4862 … -gcc-linux

Last edited by karol (2013-11-16 12:41:38)

Offline

#7 2013-11-16 13:09:07

Doctor Drive
Member
From: Ukraine
Registered: 2010-08-11
Posts: 167
Website

Re: [SOLVED] Install gcc-4.4.3 alongside

Thank you very much, karol. The suggestion from stackoverflow worked. Looks like i'm always making up the wrong query when searching.

Last edited by Doctor Drive (2013-11-16 13:48:54)

Offline

Board footer

Powered by FluxBB