UrbanPro
true

Take BCA Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Compiling C program on Linux machine GCC ,GDB

N
Narasimha Reddy
06/03/2020 0 0

Linux have powerful tool called "Terminal".

From "terminal" we can command the machine. 

For any programming language the required tools are editor, compiler and debugger.

Compiler will check the syntax errors and debugger is helpful while debugging/tracing the problem in source code.

The most popular tools in Linux for the above-mentioned are

1)vim - editor (for writing c source code)

2)GCC - compiler ( for compiling c file)

3) GDB - debugger ( tracing the issues in code)

 

Below are the command for installing these tools

$ sudo apt-get install vim

$sudo apt-get install gcc

$ sudo apt-get install gdb

 

 

 

0 Dislike
Follow 1

Please Enter a comment

Submit

Other Lessons for You

Importance Of Function Prototype In C
Function prototype tells compiler about number of parameters function takes, data-types of parameters and return type of function. By using this information, compiler cross checks function parameters and...

Mechanical Designing, Is it all about knowing CAD ?
Whenever, I get chance to meet and interview any mechanical designer, I could see they will be more interested to showcase themselves knowing more about a different mechanical CAD software it could be...

Lets Talk About Software Design-patterns
What are Design Patterns? Design Pattern is a used and tested solution for a known problem. In simple words, you can say a general reusable solution to a commonly occurring problem within a given context...

The Future of Mobile App Development
It is a not a big surprise to know that about 179 billion mobile applications are downloaded per year. This big figure indicates about the future of mobile apps .It is a fast growing sector. Like other...

How to prepare for Subjects and present in Exam?
Hello, you may wonder if I say Preparing Subjects is very simple. You need to spend at least 4 hours for each Unit, each for first reading, preparing short notes, re-reading, writing on plane paper with...
S

Suresh Kumar M.

0 0
1
X

Looking for BCA Tuition Classes?

The best tutors for BCA Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take BCA Tuition with the Best Tutors

The best Tutors for BCA Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more