[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [7/11] Native MSVC support (compile-tag)
From: |
Peter Rosin |
Subject: |
Re: [7/11] Native MSVC support (compile-tag) |
Date: |
Thu, 12 Jul 2007 13:15:42 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
On Tue, Jul 10, 2007 at 11:31:12PM +0200, Peter Rosin wrote:
> MSVC needs a hint to force it to compile either as C or C++.
>
> * libltdl/m4/libtool.m4: Add tag variable compile_tag to
> enable tag specific compiler options that are bad in the
> linking phase.
> * libltdl/config/ltmain.m4sh: Add the tag specific options
> to the compile command line.
Replying to self again with a related quote from Ralf:
"Since there are bound to be other non-gcc compilers on w32,
would it not suffice to test (in libtool.m4) for $cc_basename
as either `cl' or `cccl'?
You could just add a tagged flag compile_tag or so, make it
empty by default, and ` -TC' or ` -TP' for cl in CC or CXX
modes (think about cccl?)."
This is what I have done (at least I attempted to).
Cheers,
Peter
- Re: [4/11] Native MSVC support (file-magic-glob), (continued)
[5/11] Native MSVC support (dashL-envvar), Peter Rosin, 2007/07/10
[6/11] Native MSVC support (strip-testsuite), Peter Rosin, 2007/07/10
[7/11] Native MSVC support (compile-tag), Peter Rosin, 2007/07/10
- Re: [7/11] Native MSVC support (compile-tag),
Peter Rosin <=
[8/11] Native MSVC support (dashl-xform), Peter Rosin, 2007/07/10
[9/11] Native MSVC support (archiver-list-spec), Peter Rosin, 2007/07/10
[10/11] Native MSVC support (msvc), Peter Rosin, 2007/07/10
[11/11] Native MSVC support., Peter Rosin, 2007/07/10