compile with VC++ (was: AC_PROG_CC_C_O doesn't work with VC++)

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

 



Hello,

[ let's move to automake@xxxxxxx ]

On Mon, Oct 24, 2005 at 04:20:44PM +0200, Harald Dunkel wrote:
> 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.

I looked at /usr/share/automake-1.9/compile and I cannot understand
how this could happen.
I think that the parametr to compile should look like
	some/path/main.c
which becomes cfile, and then cofile is assigned as

cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`

But something must be different in your setup.

Happy debugging,
	Stepan


_______________________________________________
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