I hope there is another Mac user on the list.

For a while, my installation has been such that I can configure  
PLplot for either Ada bindings or to output to AquaTerm (aqt) but not  
both. The Ada compiler that I've been using from macada.org, version  
4.2, doesn't have Objective C in it, and PLplot needs Objective C to  
make the AquaTerm driver.

(For what it's worth, Cmake doesn't appear to test for the presence  
of an Objective C compiler even though Aquaterm needs it. The  
Aquaterm framework is found, however.)

I downloaded the macada.org 4.3 compiler (http://homepage.mac.com/ 
WebObjects/FileSharing.woa/53/wo/ZG4BX4ZLNRkIvZQc. 
1/8.2.1.2.26.31.97.2.35.0.1.1.1? 
user=awreynolds&fpath=Ada:PowerPC&templatefn=FileSharing7.html)that  
also includes Objective C (and C and C++ and Objective C++ and  
Fortran) thinking that would solve the problem, but it does not. I  
either need to figure out how to make this set of compilers work or  
revert to the previous 4.2 Ada compiler and tell Cmake where to find  
the (Apple) Objective C compiler which is at /usr/bin/gcc. (My Ada  
compiler is at /usr/local/ada-4.2/bin/) and this path precedes /usr/ 
bin/ in my PATH environment variable).

Here is the output from the 4.3 compilers which include Ada, C and  
Objective C, which output looks the same as it did when I was using  
the 4.2 compiler which included only Ada and C. (Ignore the fact that  
the path to the compiler is /usr/local/ada-4.2/bin/gcc because I just  
dumped the 4.3 compilers in there for a quick and dirty attempt at  
fixing the problem.


[ 45%] Building C object drivers/CMakeFiles/aqt.dir/aqt.o
/usr/local/ada-4.2/bin/gcc  -Daqt_EXPORTS   -fPIC -I/Users/jerry/ 
Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/plplot/include  
-I/usr/local/plplot_build_dir -I/usr/local/plplot_build_dir/include    
-DHAVE_CONFIG_H -ObjC -o drivers/CMakeFiles/aqt.dir/aqt.o   -c /Users/ 
jerry/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/plplot/ 
drivers/aqt.c
cc1: error: invalid option argument '-ObjC'
make[2]: *** [drivers/CMakeFiles/aqt.dir/aqt.o] Error 1
make[1]: *** [drivers/CMakeFiles/aqt.dir/all] Error 2
make: *** [all] Error 2


Here is the output from running gcc -v on the 4.3 compilers:

bau% /usr/local/ada-4.2/bin/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 20070527 (experimental)


Another point of mystery right now is that when Cmake runs, it  
reports that the Ada bindings are not enabled even though I called  
cmake with -DENABLE_ada=ON. I do have one more thing to check into in  
this regard, however.

Thanks,
Jerry

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to