-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kaplan, Andrew H. wrote:
> I mounted an NFS directory that has a newer version of gcc/ I then mounted
> tthe
> following lines to my .cshrc file:
>
> setenv GCC_PATH /usr/tools/gcc3
> setenv PATH ${GCC_PATH}/bin:${PATH}
This far is OK.
> setenv LD_LIBRARY_PATH ${GCC_PATH}/lib
This won't work, get rid of it.
> alias gcc /usr/tools/gcc3/
What's this for? Don't use this, first check if changing your path gives you
the new gcc: `which gcc` and `gcc --version`
> After the changes were made, I ran source .cshrc to have them go into effect.
You can do this if you have a cc on the PATH:
CC=gcc ./configure ...
Or to avoid the older gcc:
CC=/usr/tools/gcc3/bin/gcc ./configure ...
> I then went through the motions of running the configure script and then the
> make command. I encountered an Exit Status 1 error, although the cause of the
> error seems different than before.
>
> I've included it in this e-mail as an attachment. Is there something else I
> need
> to do? Thanks.
No attachment. But first correct the part with LD_LIBRARY_PATH above.
- --
René Berber
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iEYEARECAAYFAkPo3yAACgkQL3NNweKTRgwYtACeNBxCyfrR8l4H4Gc5cDeY6ndQ
99EAniJtQslvHCZVlEBGdwEdwYYF04TE
=E5of
-----END PGP SIGNATURE-----
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html