On Jan 27, 2009, at 10:19 AM, Alan W. Irwin wrote:

On 2009-01-27 03:02-0700 Jerry wrote:

* What are the results of "make VERBOSE=1" (starting from a clean build,
again)?
* What are your OS X and gcc versions?

Here is my script this time:

cmake \
-DCMAKE_INSTALL_PREFIX=/Users/me/Documents/Programs/Ada/Code/ Bindings/PLplot/plplot_svn/temp\ /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/ test_c_library_build
make VERBOSE=1


There are two sets of results here using two different compiler versions.

To answer the easy question:
OS X version is 10.4.11.
Processor is PPC.


-bash-2.05b$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /Users/drew/Developer/Compiler/gcc-head/ configure--disable-checking --disable-nls --enable-static -- prefix=/usr/local/ada-4.3--host=powerpc-apple-darwin8 -- target=powerpc-apple-darwin8--build=powerpc-apple-darwin8--enable- languages=c,ada,c++,fortran,objc,obj-c++
Thread model: posix
gcc version 4.3.0 20070904 (experimental) [trunk revision 128067] (GCC)


This is the compiler from macada.org that I have used for a long time. Usingit results in the text in the attached file, output.txt.

Hi Jerry:

Thanks for those results.

I have thought of one more obvious test.. I have changed the simple test slightly (revision 9409) so that it should work for both CMake 2.4 and 2.6. Could you please try it with cmake-2.4 to see if your macada.org compiler
works for that case?

Before upgrading cmake yesterday to 2.6.2, I had 2.4.6 which was overwritten with 2.6.2. Today I installed 2.4.8 since the binary is still available on the cmake web site. The output from the run with 2.4.8 and the macada compiler are attached as output2.txt. As when running 2.4.6 and macada, the executable is made and runs.
/usr/bin/cmake 
-H/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/test_c_library_build
 -B/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp 
--check-build-system CMakeFiles/Makefile.cmake 0
Clearing dependencies in "Hello/CMakeFiles/Hello.dir/depend.make".
Clearing dependencies in "Hello/CMakeFiles/Hello.dir/depend.internal".
Clearing dependencies in "Demo/CMakeFiles/helloDemo.dir/depend.make".
Clearing dependencies in "Demo/CMakeFiles/helloDemo.dir/depend.internal".
/usr/bin/cmake -E cmake_progress_start 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/CMakeFiles
 2
make -f CMakeFiles/Makefile2 all
make -f Hello/CMakeFiles/Hello.dir/build.make Hello/CMakeFiles/Hello.dir/depend
Scanning dependencies of target Hello
cd /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp && 
/usr/bin/cmake -E cmake_depends "Unix Makefiles" 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/test_c_library_build
 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/test_c_library_build/Hello
 /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Hello 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Hello/CMakeFiles/Hello.dir/DependInfo.cmake
make -f Hello/CMakeFiles/Hello.dir/build.make Hello/CMakeFiles/Hello.dir/build
/usr/bin/cmake -E cmake_progress_report 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/CMakeFiles
 1
[ 50%] Building C object Hello/CMakeFiles/Hello.dir/hello.o
/usr/local/ada-4.3/bin/gcc  -DHello_EXPORTS   -fPIC   -o 
Hello/CMakeFiles/Hello.dir/hello.o   -c 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/test_c_library_build/Hello/hello.c
Linking C shared library libHello.dylib
cd /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Hello 
&& /usr/bin/cmake -P CMakeFiles/Hello.dir/cmake_clean_target.cmake
cd /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Hello 
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/Hello.dir/link.txt --verbose=1
/usr/local/ada-4.3/bin/gcc    -dynamiclib -headerpad_max_install_names  -o 
libHello.0.0.1.dylib -install_name 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Hello/libHello.0.0.dylib
 "CMakeFiles/Hello.dir/hello.o" 
cd /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Hello 
&& /usr/bin/cmake -E cmake_symlink_library libHello.0.0.1.dylib 
libHello.0.0.dylib libHello.dylib
/usr/bin/cmake -E cmake_progress_report 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/CMakeFiles
  1
[ 50%] Built target Hello
make -f Demo/CMakeFiles/helloDemo.dir/build.make 
Demo/CMakeFiles/helloDemo.dir/depend
Scanning dependencies of target helloDemo
cd /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp && 
/usr/bin/cmake -E cmake_depends "Unix Makefiles" 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/test_c_library_build
 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/test_c_library_build/Demo
 /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Demo 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Demo/CMakeFiles/helloDemo.dir/DependInfo.cmake
make -f Demo/CMakeFiles/helloDemo.dir/build.make 
Demo/CMakeFiles/helloDemo.dir/build
/usr/bin/cmake -E cmake_progress_report 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/CMakeFiles
 2
[100%] Building C object Demo/CMakeFiles/helloDemo.dir/demo.o
/usr/local/ada-4.3/bin/gcc  
-I/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/test_c_library_build/Hello
   -o Demo/CMakeFiles/helloDemo.dir/demo.o   -c 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/test_c_library_build/Demo/demo.c
Linking C executable helloDemo
cd /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Demo 
&& /usr/bin/cmake -P CMakeFiles/helloDemo.dir/cmake_clean_target.cmake
cd /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Demo 
&& /usr/local/ada-4.3/bin/gcc    -headerpad_max_install_names -fPIC 
"CMakeFiles/helloDemo.dir/demo.o"   -o helloDemo  
-L/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/Hello 
-lHello 
/usr/bin/cmake -E cmake_progress_report 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/CMakeFiles
  2
[100%] Built target helloDemo
/usr/bin/cmake -E cmake_progress_start 
/Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp/CMakeFiles
 0
Done


My guess is that it will since the PLplot build has been working for you with CMake 2.4. Assuming that is the case, then the VERBOSE=1 results for 2.4 (and the VERBOSE=1 results you have already given me for 2.6) should
help the CMake team figure out what change in CMake-2.6 is causing the
problems for the macada compiler for 2.6.

Also, Jerry, I suggest you discuss this issue with the macada team. If the main-stream gcc compiler supports the flag, but their gcc does not, then they might want to conform with the main-stream gcc in this regard (or there
may be a new version of the macada compiler which already does that).

I'll send them a note.

Jerry

Alan

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to