Like any other GNU autoconf configure script:
env CC=your_favorite_compiler ./configure ...
Florin Andrei wrote:
>
> If i try to compile Squid-2.4 on Irix, and i have installed both gcc and
> mipspro (the native Irix compiler), ./configure uses gcc by default, and
> there's no way to change this by using some ./configure switches (like
> --prefer-native-compiler or something...). Of course, i can hack the
> makefiles or even ./configure, but this is ugly, and especially painful
> when it comes to maintain succesive upgrade releases. (i'm talking from
> the admin point-of-view; if i was a programmer, i wouldn't mind to
> tinker with makefiles)
> I think the same problem occurs on other commercial Unices, like Solaris
> or HP. But my particular interest in this is because mipspro is very,
> very highly optimised for the SGI architecture - basically, using the
> same code and compiling it with gcc and with mipspro, you can tell the
> difference just by running those two binaries and watching them with
> naked eye. So, compiling Squid with mipspro will make a big difference
> on Irix (i'm not advertising anything, that's plain truth).
>
> Are you guys willing to modify ./configure a little bit, so that "if i'm
> on this architecture, and the native compiler is there, use it instead
> of gcc" - or something like that. At least, the configure script should
> provide a switch to override the default compiler choice.
>
> --
>
> Florin Andrei
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Wed Feb 14 2001 - 14:24:41 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:01 MST