This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2008 01:45:51 -0000
- Subject: [Bug testsuite/36443] [4.3/4.4 Regression]: HOSTCC doesn't work with installed gcc
- References: <bug-36443-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #20 from hjl dot tools at gmail dot com 2008-06-10 01:45 -------
(In reply to comment #19)
> Subject: Re: [4.3/4.4 Regression]: HOSTCC doesn't work
> with installed gcc
>
> hjl dot tools at gmail dot com wrote:
>
> > They sound to me the ideal usage for --sysroot. They aren't from
> > gcc and they don't change from one gcc version to another one.
> > You can use one --sysroot for gcc 4.1, 4.2, 4.3, 4.4, ...
> > --syroot supports libraries and headers. Does it support
> > assembler and linker?
>
> Not as far as I know; --sysroot is about the target, not the host.
So setting GCC_EXEC_PREFIX is to support "make check" using
non-system assembler and linker with gcc for a target which
probably isn't a GNU target/OS. Am I correct?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36443