Re: AC_PROG_CC_C_O doesn't work with VC++

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

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux