Geoff Hutchison wrote:
> 
> At 9:26 AM -0600 2/27/01, T.J. Yang wrote:
> >I am trying to get htdig-3.2.0b3/htdig-3.2.0b2 htdig works on
> >solaris 2.6 sparc. The compiiler is sun workshop c/c++ 5.0.
> >
> >Any one got htdig ever compiled on Solaris ?
> 
> Sure. I just don't know that anyone has done it with Sun's compiler.
> I've certainly done it with gcc/g++ and I know others have done
> likewise.
> 
> I'm a bit surprised that it put in the -MD flag since that's clearly a gcc-ism.
> 
> What does the configure script say--does it realize it's not gcc?
> 


I have been spoiled by command like "./configure;make;make install" 
for a long time until I run into this problem. Now it is a good chance 
for me to learn autoconf with the help from the goat book 
at http://sources.redhat.com/autobook/. I hope I can answer your
question better after I read though the config.* files generated
by "CC=cc ./configure" command. 

I think the problem is in "configure.in" file. I use  "CC=cc
./configure" to specify
sun workshop C/C++ compiler but it still generate preprocessor option
"-MD" 
for gcc. I will try to understand the configure.in but I don't think I
will
be able to come up with a fix.

For version 3.2.0.b3, I use "CC=gcc ./configure", the "CC=gcc
./configure;make;make install"
went smooth until I run rundig and hit " arithmetic error ". The 3.1.5
version
is truely a stable one. I got 3.1.5 compiled with gcc and runs fine.


> --
> --
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/

Thanks for your reply

-- 
T.J. Yang                         [EMAIL PROTECTED]

_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to