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

// Use of Const Keyword in C Programming
#include #include void main() { float rad; const float pi=3.1412f; const char newline='\n'; float area_circle,circum_circle; clrscr(); printf("Enter radius of a circle:"); scanf("%f",&rad); area_circle=pi*rad*rad; printf("Area...

Source and Load
The ideas of electrical source and load are extremely useful constructs in circuit analysis since all electronic circuits can be modeled as a source circuit, a load circuit, or some combination of the...

Algorithms L1 (Introductory)
Why Algorithms?Modelling the Problem: Modeling is the art of formulating our application regarding precisely described, well-understood problems. Proper modelling is the key to applying algorithmic design...

Skills of the Future
We are aware that Automation has entered every walk of life. We have to accept that it eliminates lower level jobs. Hence we have to adapt and acquire new skills. Broadly it can be classifed into five...

Contents Of C Programming
Basic history about language, classification between high and low level language. i. C-instructions: Data Type declaration instruction, input-output instruction, arithmetic instruction and control...
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