[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 14:19:53 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050402) |
Hi Stepan,
Stepan Kasal wrote:
> Hello Harald,
>
> On Mon, Oct 24, 2005 at 10:35:25AM +0200, Harald Dunkel wrote:
>
>>It seems that this patch is still not in CVS. And since the
>>suggested workaround doesn't workaround I am stuck :-(.
>
>
> I apologize. I have committed a patch which should fix your problem.
> (Attached.)
>
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.
The generated config.log says
configure:4747: checking whether cl and cc understand -c and -o together
configure:4779: cl -c conftest.c -o conf1504.obj >&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
conftest.c
configure:4782: $? = 0
configure:4829: result: no
Yet the generated Makefile contains
hello-main.obj: main.c
source='main.c' object='hello-main.obj' libtool=no \
DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(hello_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o hello-main.obj `IFS=:;
x=':$(VPATH)'; for d in $$x; do test -n $$d && d=$$d/; test -f $$d'main.c' &&
$(CYGPATH_W) $$d && break; done`'main.c'
The object file is created, but it is not called "hello-main.obj".
Can I post a testcase here? It would be about 100KByte, so I
should ask first. (Its so big, because it includes the
configure script and the Makefile generated on Windows.)
Regards
Harri
- Re: AC_PROG_CC_C_O doesn't work with VC++, Harald Dunkel, 2005/10/24
- Re: AC_PROG_CC_C_O doesn't work with VC++, Stepan Kasal, 2005/10/24
- Re: AC_PROG_CC_C_O doesn't work with VC++,
Harald Dunkel <=
- Re: AC_PROG_CC_C_O doesn't work with VC++, Ralf Wildenhues, 2005/10/24
- Re: AC_PROG_CC_C_O doesn't work with VC++, Harald Dunkel, 2005/10/24
- compile with VC++ (was: AC_PROG_CC_C_O doesn't work with VC++), Stepan Kasal, 2005/10/24
- Re: compile with VC++, Harald Dunkel, 2005/10/24
- Re: compile with VC++, Harald Dunkel, 2005/10/26
Re: AC_PROG_CC_C_O doesn't work with VC++, Paul Eggert, 2005/10/24