From: Alan W. I. <ir...@be...> - 2002-12-27 17:58:54
|
Hello Maurice: In an effort to help you out, I have been poking around in info libtool this morning. If you search for "compiler characteristics" there, the documentation clearly states that for the solaris2 platform, the position-independent code switch is -KPIC rather than the -fPIC that you are getting. So I am wondering whether some of our instructions in configure.ac, sysloc.in, etc. are confusing libtool in non-gcc situations. To gain some insight into that question I suggest it is time to try a different approach; use a simple example with unmodified/unhacked configure.ac generated by autoscan as a test case. Use the autobook "hello world" example (suitably modified if necessary so it exercises what is not working for you at the moment with plplot) to see whether everything works well for all your compilers/platforms for that simple example. After all, autotools are used by thousands of projects, and if you grep for kcc and KCC in configure, it does seem to be aware of that compiler. Thus, my working hypothesis is a simple example with autoscan-generated configure.ac is going to work on all the compilers/platforms of interest to you, and that will give you some insight in what we are doing wrong for our more complicated project. Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |