On 02 Apr 2001 09:32:27 +0200, Thomas Bark wrote:
>
> uname -a
> SunOS name 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-5_10
>
> gcc -v
> Reading specs from
> /tools/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2pl6/specs
> gcc version 2.7.2 (patchlevel 6 compiled on Jul 15 1996, 09:40:42)
>
> So it seems gcc is compiled for solaris 2.5 and I'm using 2.6.
> /tools/gcc is a symlink to /tools/gcc-2.7.2pl6, but there is also a
> directory
> /tools/gcc-2.95.3-5.6.
>
> How do I tell configure to use this version?
You may either change your PATH so another gcc is current or export CC
to point to a correct executable, like:
env CC=/tools/gcc-2.95.3-5.6/bin/gcc ./configure [configure-params]
This should be enough if your gcc-2.95.3-5.6 is installed correctly.
Also remove config.cache, so configure forgets the previously found gcc.
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Apr 02 2001 - 06:52:33 BST