[CMake] eliminating -blibpath on AIX

Verweij, Arjen VerweijA at tass-safe.com
Wed Aug 4 10:44:36 EDT 2010


Patch Modules/Platform/AIX.cmake ?

>-----Original Message-----
>From: Dave Semeraro [mailto:semeraro at ncsa.illinois.edu]
>Sent: woensdag 4 augustus 2010 16:42
>To: Verweij, Arjen
>Subject: Re: [CMake] eliminating -blibpath on AIX
>
>
>Arjen and Denis, Neither suggestion worked. There seems to be no way to
>get rid of the -blibpath:/usr/lib:lib at the end of the link command.
>Unfortunately, it seems that under aix this is all that goes into the
>loader section of the executable and so all the other libs that are
>linked are not found. I can get around this with the LIBPATH env
>variable but I really dont want to. If there is no -blibpath at link
>time the loader section of the executable gets packed with the
>directories specified by the -L option to ld. Which is what I want. I
>suppose I can go the other route and just include all those libraries in
>the -blibpath option string. Not the most elegant solution. But then
>again elegance is overrated.
>
>Dave
>----- Original Message -----
>> SKIP_BUILD_RPATH ?
>>
>> >-----Original Message-----
>> >From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On
>> >Behalf
>> >Of Dave Semeraro
>> >Sent: woensdag 4 augustus 2010 15:58
>> >To: cmake at cmake.org
>> >Subject: [CMake] eliminating -blibpath on AIX
>> >
>> >
>> >Hello,
>> >
>> >I am building projects on an AIX system and I want the contents of
>> >the
>> >link.txt file to not include the -blibpath information at the end. I
>> >have tried all combinations of the CMAKE_SKIP_RPATH and other rpath
>> >related commands and can not get rid of it. I have read the rpath
>> >info
>> >on the wiki. Is there a setting for cmake that will allow me to do
>> >this
>> >or do I have to edit the link.txt files by hand. I would rather not
>> >do
>> >that as there are lots of them.
>> >
>> >Best,
>> >Dave Semeraro
>> >NCSA - University of Illinois
>> >_______________________________________________
>> >Powered by www.kitware.com
>> >
>> >Visit other Kitware open-source projects at
>> >http://www.kitware.com/opensource/opensource.html
>> >
>> >Please keep messages on-topic and check the CMake FAQ at:
>> >http://www.cmake.org/Wiki/CMake_FAQ
>> >
>> >Follow this link to subscribe/unsubscribe:
>> >http://www.cmake.org/mailman/listinfo/cmake
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list