Hi Jerry,

could it be as simple as a missing space between
-install_name and libplplotadad.0.dylib ?

Perhaps fiddling a bit with the CMake module files in the
CMake installation (I found these options in
Platform/Darwin.cmake and two similar ones) might help.

Regards,

Arjen

On Wed, 12 Jun 2013 04:22:01 -0700
  Jerry <[email protected]> wrote:
> I'm a little bleary-eyed right now but I can't figure 
>this problem out.
> 
> I just replaced my GPL GNAT (Ada) compiler with the new 
>2013 edition and am now getting a link error. I made a 
>few trivial changes to my build script to account for 
>some directory changes and I think it should be doing the 
>same thing as it did with the old (2011 edition) 
>compiler. But I'm getting this. "install_name" seems to 
>be getting embedded in some funny places including 
>several occurrences that appeared in the output before 
>this, specifically as "-headerpad_max_install_names", as 
>well as those shown below.
> 
> 
> 
> Linking Ada shared library libplplotadad.dylib
> cd /usr/local/plplot_build_dir/bindings/ada && 
>/opt/local/bin/cmake -E cmake_link_script 
>CMakeFiles/plplotadad.dir/link.txt --verbose=1
> /usr/local/adacore-gnat-2013/bin/gcc  -fPIC 
> -single_module -dynamiclib 
>-Wl,-headerpad_max_install_names 
>-install_namelibplplotadad.0.dylib -o 
>libplplotadad.0.0.0.dylib 
>CMakeFiles/plplotadad.dir/plplot.o 
>CMakeFiles/plplotadad.dir/plplot_thin.o 
>CMakeFiles/plplotadad.dir/plplot_traditional.o 
>CMakeFiles/plplotadad.dir/plplot_auxiliary.o 
>../../src/libplplotd.11.0.0.dylib 
>/usr/local/adacore-gnat-2013/lib/gcc/x86_64-apple-darwin12.2.0/4.7.4/adalib/libgnat.dylib
> 
> -lgcc_s.1
> gcc: error: unrecognized command line option 
>'-install_namelibplplotadad.0.dylib'
> make[2]: *** [bindings/ada/libplplotadad.0.0.0.dylib] 
>Error 1
> make[1]: *** 
>[bindings/ada/CMakeFiles/plplotadad.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> Jerry
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Plplot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 


 

DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.





------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to