Changing gcc version in Ubuntu

Asked by sujith

Hi all,

I am new to Linux.
I installed Ubuntu 9.04 on my laptop.
I need to install another traffic simulation software in it.
The gcc version is 4.3.3
But i need gcc version 4.3 for the software to be installed.(I run into some errors with the existing gcc version 4.3.3)

How can i do it?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
midnightflash (midnightflash) said :
#1

GCC-4.3.3 is GCC-4.3 with some security fixes.
So there should be no need to "downgrade".

You should look for the real reason why the compilation aborts.

Greetings

Revision history for this message
sujith (sujithreddy-iitr) said :
#2

I am unable to install some packages (like autoconf,automake,make etc) which i need before i start installing the actual traffic simulation software.

This can be done without any error/problem in gcc-4.3
So, its better i "downgrade" the version.

Please, tell me how can i "downgrade" to gcc-4.3?

Thanks

Revision history for this message
midnightflash (midnightflash) said :
#3

Follow this HowTo:
https://help.ubuntu.com/community/CompilingEasyHowTo

And check if it works then.

The "build-essential" should give you the necessary things you mentioned.
After this it might be necessary for you to install some "-dev" packages. These are the source-packages a self-compiled program is linking against.

What is "another traffic simulation"? Can you give me a link? (i.e. where can I download it... so I can check if/how it works?)

Revision history for this message
sujith (sujithreddy-iitr) said :
#4
Revision history for this message
midnightflash (midnightflash) said :
#5

These are binary installations... and they are designed for Fedora... you should not even need GCC for this.
But: There are many problems with that ones to install correctly.

Look inside of this:
http://tech.groups.yahoo.com/group/MITSIMLab/

There you will find a lot of tips and hacks to get it roll.

Greetings

Can you help with this problem?

Provide an answer of your own, or ask sujith for more information if necessary.

To post a message you must log in.