[CMake] rpath limitations of CMake for the Cygwin platform

Alan W. Irwin irwin at beluga.phys.uvic.ca
Tue Oct 30 04:52:53 EDT 2007


On 2007-10-29 20:08-0400 Bill Hoffman wrote:

> Alan W. Irwin wrote:
>> I don't have access to Cygwin myself, but I have recently been getting
>> PLplot feedback from one of our developers and also two of our more
>> experienced users for that platform.  From their detailed "make" and "make
>> install" results it appears rpath is being completely
>> ignored both in the build tree (where CMake automatically takes care of 
>> the
>> complicated rpath concerns for my Linux platform), and the build tree 
>> (where
>> for PLplot we use the INSTALL_RPATH PROPERTY of SET_TARGET_PROPERTIES to 
>> set
>> rpath).
>> 
>> Being able to set rpath for both the build tree and install tree is
>> incredibly convenient for the Linux CMake version.  Is there some 
>> technical
>> reason why this killer feature is missing from the Cygwin CMake version or
>> is this just currently an unimplemented feature for the Cygwin CMake
>> version?
>> 
>
> There is no such thing as RPATH on windows or cygwin.  Basically on 
> windows/cygwin you have to have the shared libraries or dll's in the same 
> directory as the executables. The only RPATH  of sorts on windows is that "." 
> is in the PATH.  Other than that, users have to put directories with dll's in 
> the PATH explicitly.

Thanks, Bill, for that information.  I didn't realize Cygwin shared that
lack of RPATH limitation with windows.  UGH.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list