icsu6000@caesar.cs.montana.edu (Jaye Mathisen) (10/16/89)
If this is a "it's in the FM" then point the way... I have a directory '/usr/local/gnu' that I keep all the gnu programs in. I want to force gcc to use /usr/local/gnu/gas, /usr/local/gnu/ld, etc. etc. for every invocation. The question... 'Where do I do all this?' Sort of an 'all-GNU or nothing' approach. This is on a VAX running Ultrix 3.0...
bob@MorningStar.Com (Bob Sutterfield) (10/16/89)
In article <2440@caesar.cs.montana.edu> icsu6000@caesar.cs.montana.edu (Jaye Mathisen) writes:
I have a directory '/usr/local/gnu' that I keep all the gnu
programs in. I want to force gcc to use /usr/local/gnu/gas,
/usr/local/gnu/ld, etc. etc. for every invocation.
In gcc's Makefile, you named a "libdir". Make things named
$libdir/gcc-as and $libdir/gcc-ld that do the right things. In my
case, /usr/local/lib/gcc-as is a symbolic link to /usr/local/bin/gas,
and similarly with /usr/local/lib/gcc-ld -> /usr/local/bin/gld. That
way, people can invoke gas and gld directly from their $path, and gcc
can invoke them at the appropriate times during compilation.