[Expat-bugs] [ expat-Bugs-414030 ] Makefile requires gcc for dependencies

noreply@sourceforge.net noreply@sourceforge.net
Thu, 05 Apr 2001 12:44:10 -0700


Bugs item #414030, was updated on 2001-04-05 08:52
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=414030&group_id=10127

Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Matt Langford (langfml)
>Assigned to: Greg Stein (gstein)
Summary: Makefile requires gcc for dependencies

Initial Comment:

After running configure on Solaris 2.8 and using the Sun cc compiler, the lib/ directory Makefile has 
this gcc-only dependency generator:
        $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
         ...


I wish I knew the alternate method, of just using make depend.  Or can I just ditch these lines?

The truth is, though, do the vast majority of people care about dependency generation?
I want to build expat because I will be using the Perl module HTML::Parser.  I will probably never 
fiddle with the source to expat; if there are fixes, I will download an entirely new set of sources, 
and compile it from scratch.  I don't care about compiling everything all over again, because that's 
exactly what I'll always be doing.

Anyway, if no dependency information is generated at all, can't I still build a binary?

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-04-05 12:44

Message:
Logged In: YES 
user_id=3066

Greg already fixed this in the CVS version.  You can make the compilation lines just this:

.c.o:
        $(COMPILE) -c $<

.c.lo:
        $(LTCOMPILE) -c $<


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=414030&group_id=10127