manpagez: man pages & more
info libtool
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

15.3.7 File name conversion

In certain situations, libtool must convert file names and paths between formats appropriate to different platforms. Usually this occurs when cross-compiling, and affects only the ability to launch host platform executables on the build platform using an emulation or API-enhancement environment such as Wine. Failure to convert paths (see section File Name Conversion Failure) will cause a warning to be issued, but rarely causes the build to fail—and should have no affect on the compiled products, once installed properly on the host platform. For more information, see section Cross compiling.

However, file name conversion may also occur in another scenario: when using a Unix emulation system on Windows (such as Cygwin or MSYS), combined with a native Windows compiler such as MinGW or MSVC. Only a limited set of such scenarios are currently supported; in other cases file name conversion is skipped. The lack of file name conversion usually means that uninstalled executables can’t be launched, but only rarely causes the build to fail (see section File Name Conversion Failure).

libtool supports file name conversion in the following scenarios:

build platformhost platformNotes
MinGW (MSYS)MinGW (Windows)see section Native MinGW File Name Conversion
CygwinMinGW (Windows)see section Cygwin/Windows File Name Conversion
Unix + WineMinGW (Windows)Requires Wine. see section Unix/Windows File Name Conversion
MinGW (MSYS)CygwinRequires LT_CYGPATH. see section LT_CYGPATH. Provided for testing purposes only.
Unix + WineCygwinRequires both Wine and LT_CYGPATH, but does not yet work with Cygwin 1.7.7 and Wine-1.2. See see section Unix/Windows File Name Conversion and see section LT_CYGPATH.

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on December 1, 2011 using texi2html 5.0.

© 2000-2017
Individual documents may contain additional copyright information.