[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compile with VC++ (was: AC_PROG_CC_C_O doesn't work with VC++)
From: |
Stepan Kasal |
Subject: |
compile with VC++ (was: AC_PROG_CC_C_O doesn't work with VC++) |
Date: |
Mon, 24 Oct 2005 16:50:02 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
[ let's move to address@hidden ]
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
- compile with VC++ (was: AC_PROG_CC_C_O doesn't work with VC++),
Stepan Kasal <=