Compile fails on Solaris 2.6 with SunPro C++ 4.2

Peter Millerchip peter.millerchip at
Fri Oct 1 08:31:51 EDT 1999


I'm trying to compile FreeTDS under Solaris 2.6 using the SunPro 4.2 C++ 
compiler, and it fails when attempting to use cc. The problem is that the 
option "-Wp,-MD,.deps/mem.pp" gets passed to cc, which then passes "-MD 
.deps/mem.pp" to cpp. Unfortunately, SunPro's cpp only accepts "-M" with no 
other options, which outputs the makefile dependencies to stdout. I don't 
know enough about autoconf and the Makefiles used to be able to fix it, but 
could this be fixed in a future release? If FreeTDS needs Makefile 
dependencies, it could perhaps do them in a separate first pass before 
doing the actual compile. Is this feasible, or am I talking rubbish?



More information about the FreeTDS mailing list