This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using GNU as with EGCS 1.1.1 on HP/UX 10.20? (small patch)
- To: Petter Reinholdtsen <pere at hungry dot com>
- Subject: Re: Using GNU as with EGCS 1.1.1 on HP/UX 10.20? (small patch)
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Mon, 07 Dec 1998 09:32:19 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199812041137.MAA00308@zero.cc.uit.no>you write:
> [Jeffrey A Law]
> > Use the same prefix for egcs & binutils/gas. That is the preferred
> > way to make gcc find gas automatically.
>
> I know that is the preferred way to find gas. I've tried it and it
> works, but then I get conflicts with gcc, and things starts to break.
> I need to compile egcs and gcc with different prefix. As I install
> egcs, and another person installs gcc and gas, I want to change the
> prefix of egcs and still find gas.
You can play symlink games to make it appear as if you had installed binutils
with the same prefix. The key is to make sure that the GNU assembler appears
somewere early in the "programs" path printed by gcc --print-search-dirs.
> How do I do that. Why does not --with-as=/full/path/to/gas work?
Because that kind of functionality is not in the egcs-1.1.1 release. Future
releases will have this kind of functionality.
jeff