[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_CC not working
From: |
Pavel Roskin |
Subject: |
Re: AC_PROG_CC not working |
Date: |
Wed, 11 Oct 2000 17:06:01 -0400 (EDT) |
Hello, Peter!
> 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.
We (Autoconf) just need to supply the right EXEEXT. Dealing with it is a
problem of Automake and Make.
Since EXEEXT="" makes "cp" fail it's not a good choice. So instead of
doing "test contest -ef contest.exe" do "cp contest contest.ac_" and
reverse the logic (i.e. if "cp" fails we use ".exe")
Regards,
Pavel Roskin
- Re: AC_PROG_CC not working, (continued)
- Re: AC_PROG_CC not working, Akim Demaille, 2000/10/10
- Re: AC_PROG_CC not working, Bob Friesenhahn, 2000/10/10
- Re: AC_PROG_CC not working, Akim Demaille, 2000/10/10
- Re: AC_PROG_CC not working, Gary V. Vaughan, 2000/10/10
- Re: AC_PROG_CC not working, Akim Demaille, 2000/10/11
- Re: AC_PROG_CC not working, Gary V. Vaughan, 2000/10/12
- Re: AC_PROG_CC not working, Peter Eisentraut, 2000/10/11
- Re: AC_PROG_CC not working, Morten Eriksen, 2000/10/11
- Re: AC_PROG_CC not working, Pavel Roskin, 2000/10/11
- Re: AC_PROG_CC not working, Peter Eisentraut, 2000/10/11
- Re: AC_PROG_CC not working,
Pavel Roskin <=
- Re: AC_PROG_CC not working, Morten Eriksen, 2000/10/12
Re: AC_PROG_CC not working, Earnie Boyd, 2000/10/11
Re: AC_PROG_CC not working, Earnie Boyd, 2000/10/11
Re: AC_PROG_CC not working, Earnie Boyd, 2000/10/27
RE: AC_PROG_CC not working, Bernard Dautrevaux, 2000/10/27
RE: AC_PROG_CC not working, Earnie Boyd, 2000/10/27