[Bug other/20955] Top-level gcc configure/makefile does not handle --with-sysroot

drow at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 12 12:53:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list