[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_PROG_CC not working

From: Peter Eisentraut
Subject: Re: AC_PROG_CC not working
Date: Wed, 11 Oct 2000 22:13:03 +0200 (CEST)

Morten Eriksen writes:

> (So, in the Cygwin case it doesn't really matter whether you set the
> executable suffix to ".exe" or "", I guess.)

This equivalency only affects stat() and the PATH search of the shell.  So
you can write makefiles like this:

fooprog: $(OBJS)
        $(CC) -o $@ $^

install: fooprog
        $(INSTALL) fooprog$(EXEEXT) $(bindir)

and they will work.  But it probably doesn't in general on other systems
that have executable extensions.  In fact, I'd have no idea how to act in
face of arbitrary $(EXEEXT) values.

Peter Eisentraut      address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]