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

Some interview questions and answers for fresher level on Pointers
What is a void pointer? Void pointer is a special type of pointer which can reference or point to any data type. This is why it is also called as Generic Pointer. As a void pointer can point to...

How To Write An Assignment?
Instructions for writing the Assignment: It should contain minimum of 7 pages to maximum of 10 pages. Write all the topics with clear headings, sub headings and points with serial numbers 1,2,3,4,5...

Current and voltage distribution
a) A current flowing in a wire of a length related to the RF produces an electromagnetic field. This field radiates from the wire and is set free in space. The principles of radiation of electromagnetic...


Explain The Working Of JVM
1. when we execute the java file, JVM is loaded into memory.2. In JVM, first class loader starts which loads the class into memory, i.e. it divides the code intoRuntime Memory Area.3. Runtime memory consists...
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