Re: Trouble with MSVC `cl -c -o ...'

2004-10-12 Thread Milan Tichy
Alexandre Duret-Lutz wrote: However your traces show that `cl' is detected as supporting -c and -o together. | configure:3356: checking whether cl and cc understand -c and -o together | configure:3386: cl -c conftest.c -o conftest.obj >&5 ... That test is actually run by AC_PROG_CC_C_O (which is ca

Re: Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Bob Friesenhahn
On Mon, 11 Oct 2004, Milan Tichy wrote: Bob Friesenhahn wrote: If this wrapper works so well, maybe it can be contributed to libtool? I'm not sure if this is appropriate to this list. However I don't think it is really necessary. When I use Libtool together with `cl', Libtool "knows itself" that it

Re: Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Milan Tichy
Bob Friesenhahn wrote: If this wrapper works so well, maybe it can be contributed to libtool? I'm not sure if this is appropriate to this list. However I don't think it is really necessary. When I use Libtool together with `cl', Libtool "knows itself" that it should use `lib /out:... ...' There wer

Re: Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Alexandre Duret-Lutz
>>> "Milan" == Milan Tichy <[EMAIL PROTECTED]> writes: Milan> Automake version and configure.ac is below... Thanks. Unfortunately this looks fine to me. Was the `compile' script actually used during compilation in front of the `cl' invocation? If yes, could you try the appended patch? If n

Re: Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Bob Friesenhahn
On Mon, 11 Oct 2004, Milan Tichy wrote: Dalibor Topic wrote: On a side note, you should try cccl.sf.net, which is a gcc-like MSVC wrapper. Works for me (TM). Works really great, thanks a lot If this wrapper works so well, maybe it can be contributed to libtool? Bob

Re: Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Milan Tichy
Dalibor Topic wrote: On a side note, you should try cccl.sf.net, which is a gcc-like MSVC wrapper. Works for me (TM). Works really great, thanks a lot Milan

Re: Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Milan Tichy
Alexandre Duret-Lutz wrote: Hi, On Mon, Oct 11, 2004 at 02:20:30PM +0100, Milan Tichy wrote: I used both AC_PROG_CC_C_O and AM_PROG_CC_C_O but it didn't help. Could you state your Automake version and post a copy of your configure.ac? Hi, Automake version and configure.ac is below... This is my fi

Re: Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Dalibor Topic
Alexandre Duret-Lutz wrote: Hi, On Mon, Oct 11, 2004 at 02:20:30PM +0100, Milan Tichy wrote: I used both AC_PROG_CC_C_O and AM_PROG_CC_C_O but it didn't help. Could you state your Automake version and post a copy of your configure.ac? On a side note, you should try cccl.sf.net, which is a gcc-like

Re: Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Alexandre Duret-Lutz
Hi, On Mon, Oct 11, 2004 at 02:20:30PM +0100, Milan Tichy wrote: > > I used both AC_PROG_CC_C_O and AM_PROG_CC_C_O but it didn't help. Could you state your Automake version and post a copy of your configure.ac?

Trouble with MSVC `cl -c -o ...'

2004-10-11 Thread Milan Tichy
Hello, could someone help me with the following problem please? I have some Makefile.am which uses feature of "renaming objects". It works fine with gcc etal. but fails with MSVC `cl' because of ``-c -o'' doesn't work. Here is a simple example: - AM_CPPFLAGS= ... bin_