Steve, Could you do the following on your Solaris machine:
env | grep PATH which cc which gcc which ld This should give us a better idea what is going wrong with your compile. Thanks! -Tino On Mon, 2002-05-27 at 06:05, Simon Stewart wrote: > On Fri, May 24, 2002 at 10:07:50AM +0800, Steve Wong wrote: > > > BUT, when I run ./configure --with-apxs=..... FOR mod_webapp It says > > that I cannot mix the gcc and native cc. AND the configuration > > failed. The configuration success if I use Solaris's ld to make > > Apache. > > > > Why will this happen and Is this normal?? > > Did you build Apache with the Solaris tool chain, or the GNU one? > > I'm not an expert, but I would imagine that mixing object (.o) files > generated from different compilers is asking for trouble. One compiler > could well expect certain optimisations, etc. that the other doesn't > implement, or one that implements things differently, not to mention > compiler specific extensions. I'm guessing that both compiler chains > ultimately output an ELF executable, but there's no reason to suppose > that the intermediate stages are going to be compatible with each > other. > > Having said that, I would expect SOs and DSOs to be shared without > trouble. > > I know that the Solaris chain has a lot of trouble with mod_webapp for > some reason. Sorry, this isn't a particularly definitive answer, is it? > > Cheers, > > Simon > > -- > "Cloning forces us to ask some hard questions. For example, which person, > the original or the clone, gets to wear the goatee and be evil?" > --- the Onion > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>