This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/20955] Top-level gcc configure/makefile does not handle --with-sysroot
- From: "drow at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Apr 2005 12:53:35 -0000
- Subject: [Bug other/20955] Top-level gcc configure/makefile does not handle --with-sysroot
- References: <20050411201447.20955.prothonotar@tarnation.dyndns.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From drow at gcc dot gnu dot org 2005-04-12 12:53 -------
Subject: Re: Top-level gcc configure/makefile does not handle --with-sysroot
On Tue, Apr 12, 2005 at 12:50:29PM -0000, prothonotar at tarnation dot dyndns dot org wrote:
>
> ------- Additional Comments From prothonotar at tarnation dot dyndns dot org 2005-04-12 12:50 -------
> Let me see if I understand your advice: I should try moving the sysroot to
> something like $prefix/solaris-x86 instead of $prefix/i586-sun-solaris2.10,
> because gcc is getting confused between the target name, a directory in
> gcc-build that has the name of the target, and the system root directory that I
> have chosen? This is because xgcc is being run from the build dir rather than
> the installation dir, I take it?
Exactly right. When installed, libraries and some binutils binaries go
in $prefix/$target/; when building, multilib builddirs go in
$objdir/$target/.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20955