This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/54504] Link failed when I move the GCC to another directory
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Sep 2012 06:38:59 +0000
- Subject: [Bug driver/54504] Link failed when I move the GCC to another directory
- Auto-submitted: auto-generated
- References: <bug-54504-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54504
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-09-07 06:38:59 UTC ---
>I've tried to use sysroot option, but I compile the GCC failed.
Because that is not the correct usage of sysroot.
You want a full sysroot under the prefix directory:
/repo/yuhuamei/mips-linux-eglibc-gnu/sysroot
And install the libc inside that directory.