LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-10-2009, 09:04 AM   #1
abhinav.arora
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
makefile debug


I tried using the make -d command to spit out debugging information hoping to find out the exact include files it is using but nothing like that in the output showed up.

Was wondering if anyone knows any make command flag or something which will show during the make process, which include files (exact file names not just directory paths) it is accessing.

Thanks.
 
Old 03-10-2009, 02:18 PM   #2
norbert74
Member
 
Registered: Apr 2006
Posts: 63

Rep: Reputation: 23
If nobody knows something more convenient you could try
Code:
strace -e trace=open make
 
Old 03-10-2009, 03:32 PM   #3
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 1,421

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
I haven't actually used this, but the GNU Remake Debugger seems like it could be useful.

Last edited by ntubski; 03-10-2009 at 03:32 PM. Reason: capitilization
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it mandatory to have the name of the makefile as 'Makefile' for kernal module comp narender.d Linux - Kernel 3 05-29-2009 06:26 AM
Makefile debug target StevenR Programming 1 01-11-2009 07:47 PM
makefile for debug and release version nikoladsp Programming 1 04-27-2007 04:30 AM
How to debug without having debug section in an executable ? unclesam Linux - Newbie 0 02-02-2006 06:23 AM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 03:57 AM


All times are GMT -5. The time now is 08:56 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration