Makefile debugger??

Makefile debugger??

Post by Alvaro Puente Gonzale » Thu, 18 Jan 2001 19:54:56



Hi!!

Does anyone know of any kind of de* for makefiles?

It takes a lot of time to find out what a makefile is doing
(especially if it is a big one). And if you have problems,
it is a bothering task trying to find the error.

Thanx/Alvaro

 
 
 

Makefile debugger??

Post by David Pete » Thu, 18 Jan 2001 22:21:19



> Hi!!

> Does anyone know of any kind of de* for makefiles?

> It takes a lot of time to find out what a makefile is doing
> (especially if it is a big one). And if you have problems,
> it is a bothering task trying to find the error.

> Thanx/Alvaro

make itself usually has a debug mode, e.g. make -d. See the man page.

 
 
 

Makefile debugger??

Post by Alvaro Puente Gonzale » Thu, 18 Jan 2001 22:32:30




> > Hi!!

> > Does anyone know of any kind of de* for makefiles?

> > It takes a lot of time to find out what a makefile is doing
> > (especially if it is a big one). And if you have problems,
> > it is a bothering task trying to find the error.

> > Thanx/Alvaro
> make itself usually has a debug mode, e.g. make -d. See the man page.

Yes, I've been already using that mode, but when you have a lot of
dependencies in the makefile it is difficult to find the place in
the file where the error is.

I was wondering if there is some kind of tool to execute "line by line"
a makefile, jumping from one dependency to another (i.e. if you are
using in your makefile macros, it will show you all of them in the same
order they are used).

  Alvaro.Puente-Gonzalez.vcf
< 1K Download
 
 
 

Makefile debugger??

Post by Adam Huu » Fri, 19 Jan 2001 01:55:34



>I was wondering if there is some kind of tool to execute "line by line"
>a makefile, jumping from one dependency to another (i.e. if you are
>using in your makefile macros, it will show you all of them in the same
>order they are used).

Here's an idea... make make with -g and then step through with a
de* (gdb, dbx)...(!)

Cheers,
--
Adam Huuva / Easter-eggs                 Spcialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Mtro Gait
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 41 35 00 76

 
 
 

1. Makefile debugger?

Anyone know about a makefile debugger? (preferably graphical)

I'm actually trying to build gcc-2.95.2 using the Cygwin 1.0 Unix-like
environment under Windows NT 4.0 (just so you know). The makefiles of
course are quite large and complicated. I ran into a problem during the
build and would like to single-step, set breakpoints, etc. (all the good
debugging stuff). I know of a bash shell debugger, which was helpful for
debugging bash scripts, but now it seems I need one for makefiles.

I did a "man make" and saw no relevant options, and have scanned
Deja.com a bit and have not seen anything yet.

If you don't know, can you recommend a better newsgroup for this post?

TIA for any help
Chris

Sent via Deja.com http://www.deja.com/
Before you buy.

2. I can't setup HP DesignJet 500 printer under Red Hat, how should I do?

3. NIC detection problem

4. Newbie Problems with NIC After 4.5 install

5. Which debugger is window debugger?

6. JP15 on the Netra T1 motherboard.

7. diff -rcN ups-2.45.2/Makefile ups/Makefile

8. sed/awk - generating Makefiles (Re: awk processing of Makefile macros)

9. GCC: "makefile" not "Makefile"?

10. cvs commit: ports/java Makefile ports/java/forte Makefile distinfo (fwd)

11. prototype Makefiles - sharing Makefiles between projects