This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SUN make and gcc 3.0: committed changes to branch


On May 31, 2001, Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote:

> I see it mainly as a workaround for a shortcoming (dare I say
> bug without getting flamed)

:-D

> of automake.  Again, automake *does* explicitly support SUN make
> VPATHisms for some of its generated rules, and does not document
> otherwise.  It's just that the generated rule for installing headers
> does not support SUN make VPATH.

I'm afraid it's impossible to get it to work correctly in general (*),
but I wouldn't oppose any move towards getting automake to work with
additional implementations of make.

(*) because it prepends the VPATH to any occurrence of a VPATH
dependence, a situation can be constructed in which unrelated strings
end up being incorrectly replaced, breaking the build cmd.  But this
shouldn't stop us from getting it to work in situations in which it
doesn't break.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]