how to install gcc compiler in ubuntu 11.04

Asked by salinimenon

MY system has windows 7 64 bit os.I have install vmware on it and ubuntu 11.04.but now i want to run gcc compiler on this.What should i do?how can i have gcc compiler for windows 7?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
enubuntu (mr.tennents) said :
#1

On Ubuntu:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this command:
sudo apt-get install gcc

3. Then compile a program with this command:
gcc helloworld.c -o helloworld

On Windows:
Use this software:
http://www.bloodshed.net/devcpp.html

Thisk link may help you:
http://blog.sudobits.com/2011/05/08/how-to-compile-and-run-c-c-plus-plus-program-on-ubuntu-11-04/

Can you help with this problem?

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

To post a message you must log in.