Re: compile with VC++

2005-10-26 Thread Harald Dunkel
Stepan Kasal wrote: 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

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

2005-10-24 Thread Stepan Kasal
Hello, [ let's move to automake@gnu.org ] 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

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

2005-10-24 Thread Keith MARSHALL
Stepan Kasal wrote: I think that the parametr to compile should look like some/path/main.c which becomes cfile, and then cofile is assigned as... Just guessing, but with cl.exe being Bill's C compiler, it probably doesn't understand `some/path/main.c' as a path name; (it will

Re: compile with VC++

2005-10-24 Thread Harald Dunkel
Hi Stepan, Stepan Kasal wrote: 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