This is the mail archive of the gcc@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: GCC vs. `make' on Solaris


On May 13, 2001, andrew@pimlott.ne.mediaone.net (Andrew Pimlott) wrote:

> On Sun, May 13, 2001 at 08:44:15PM -0300, Alexandre Oliva wrote:

>> We want to avoid having to rebuild foo.o
>> if foo.c doesn't change, but we also want to avoid running `bar' again
>> every time.

> bar will be run again iff bar changes, in both your example and
> mine.

Nope.  In your example, foo.c will remain older than bar, so its
command will be invoked every time you `make'.

-- 
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]