On Jul 6, 2007, at 8:27 AM, Jerry wrote: > I hope there is another Mac user on the list. > > 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
I've installed macada and I've managed to get this far on my OS-X box. I was hoping to be able to tell cmake (using the ccmake facility) to use /usr/bin/gcc for the C compiler. However when I set the CMAKE_C_COMPILER = /usr/bin/gcc and then configure it always gets flipped back to /usr/local/ada-4.3/bin/gcc. My suspicion is that we could get both Ada and Aquaterm to work if we could somehow suppress the behavior. Ideas? -Hazen ------------------------------------------------------------------------- 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