Wrapper around MSVC cl.exe for autoconf.

Norbert Thiebaud nthiebaud at gmail.com
Wed Mar 13 14:48:12 PDT 2013


On Wed, Mar 13, 2013 at 4:37 PM, Peter Foley <pefoley2 at verizon.net> wrote:
> I've written a wrapper around MSVC cl.exe for autoconf (see
> https://wiki.documentfoundation.org/Development/Gsoc/Ideas#Gcc_like_wrapper_for_MSC_on_cygwin_and_autotools_compatibility).
>
> The goal of the wrapper is to remove all the custom MSVC logic from the
> ExternalProject makefiles and let the packages just use autoconf.
>
> I've uploaded the gcc-wrapper patch to gerrit as well as two example
> implementations.
>
> The code was rather quickly hacked together so it may still be buggy.
>
> Is this something that should be integrated into libreoffice?

The wrapper itself, probably not, otherwise you get the usual
bootstrap problem...
but a solution would be to make it avaiable as an external pre-req
like the dozen that Windows already has...
Ideally I suppose, in a cygwin-like package (rpm?) that one could
install in cygwin... just like we already request for 2 dozen of
packages to be installed in cygwin to be able to build...

Norbert

PS: make sure that the wrapper is 'versionable', since I suspect that
some behaviors will depend on the underlying version of the MS
compiler...
PS2: how do you deal with the 'linker' aspect of things ?


More information about the LibreOffice mailing list