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

What are the dimensions of a good brick?
Standard bricks The standard co-ordinating size for brickwork is 225 mm x 112.5 mm x 75 mm (length x depth x height). This includes 10 mm mortar joints, and so the standard size for a brick itself is...

FBD : Free Body Diagram (Mechanical Engineering)
Free body diagram is the graphical representation of forces (Action and Reaction) acting on isolated body or any objects. it is very basic and most useful concept to solve any structural probleme (can...

Stiffness Modification In Analysis
Stiffness modification: Significance In IS 456,as per Cl.22.3 gross sectional properties are allowed to be used (if consistently used for all members) for force calculations. For deflections, 22.3.2 allows...

Pattern Matching Algorithms
Pattern Matching Algorithms: There are various algorithms used to implement the pattern matching problem. Some of them are: Brute Force. Boyer-Moore. Knuth-Morris-Pratt (KMP). Brute Force: ...

// 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...
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