Solved

Makefile Flags and switched

Posted on 2008-10-05
5
827 Views
Last Modified: 2013-12-13
What does ld nm and gcc -Wall options do in a Makefile
0
Comment
5 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 22647651
amit_at_expertsexchange,

You question is posed in very vague terms.

Can you take the time to fully state your question please?

JeffCoachman
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 22647880
They are not options. They are commands :

        nm : lists the symbols in an object file
        ld : is the linker - it links object files together (into an executable eg.)
        gcc : is the compiler - it compiles object files from source code

For more info, you can always do a man on it, for example :

        man nm
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 75 total points
ID: 22647991
nm prints symbols in an executable, library or object  file
ld loads (links) object files to produce an executable or shared object
gcc is the GNU C compiler (gcc nowadays stands for Gnu Compiler Collection - it is a frontend for C++, FORTRAN and many others). The -Wall options instructs it to issue warnings for a number of common possible mistakes.
A Makefile can include these commands, but it can include *any* commands. These commands are in no way specific to make.
0
 

Author Closing Comment

by:amit_at_expertsexchange
ID: 31503190
Thanks for the help
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 10 4 55
Text Transformation using ActionScript 3 5 133
Image Deployment Tool 9 84
What is Ransomware? 16 66
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question