[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_CC_C_O doesn't work with VC++
From: |
Harald Dunkel |
Subject: |
Re: AC_PROG_CC_C_O doesn't work with VC++ |
Date: |
Mon, 24 Oct 2005 16:20:44 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050402) |
Hi folks,
Ralf Wildenhues wrote:
> Hi Harald,
>
> * Harald Dunkel wrote on Mon, Oct 24, 2005 at 02:19:53PM CEST:
>
>>I tried the previous patch you had sent some time ago (the
>>version with 'conf$[$]'). But this didn't work for Bill's
>>cl.exe. The generated Makefile still uses -c and -o on the same
>>command line. I had verified that the new code is in configure.
>
>
> Yes, but $(CC) should be set to something like
> CC = compile cl
>
> and the `compile' script should take care of `-o'.
>
I think I found the problem. The compile script says at the
end
:
if test -f "$cofile"; then
mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
mv "${cofile}bj" "$ofile"
fi
Using Bill's compiler $cofile is set to something like
\\somehost\somepath\main.obj
which is not understood by test.
Regards
Harri
Re: AC_PROG_CC_C_O doesn't work with VC++, Paul Eggert, 2005/10/24