- To: "gcc-help@xxxxxxxxxxx" <gcc-help@xxxxxxxxxxx>
- Subject: RE: building gcc tool-chain to be used across machines
- From: Markus Henschel <markus.henschel@xxxxxxxx>
- Date: Fri, 10 Feb 2012 10:13:20 +0100
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1329502422; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: From:To:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=XBy84n4d9ItB23zfRKUXNJeB2SU=; b=nvqmEAH+cKjHDd5CKMa1CTEQfXYiYg689nB71TfkyMCHYxy0wAgmUANgANI2ho +ufrEiLvwgLqId0V+qHOm0xHD+Gv770sgUddfSGiHgxpDBKkCSYlo63B23NNIs1Y /wO5Yvi0lP+LYF843SoDtM5usRZ1gqFV8+KqEhBd2ym8o=
- In-reply-to: <B97B134FACB2024DB45F524AB0A7B7F205CFDAFB@XMB-BGL-419.cisco.com>
> -----Original Message-----
> From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
> Behalf Of Prashant Batra (prbatra)
> Sent: Freitag, 10. Februar 2012 06:40
> To: gcc-help@xxxxxxxxxxx
> Subject: RE: building gcc tool-chain to be used across machines
>
> Hi,
>
> If I want to build a gcc tool-chain on one machine and copy it to
> different machines, and use it there, what are the things I need to
> take care of.
> With initial tries, I have seen that after copying a built tool chain
> to a different machine, gcc tries to search for include and libs into
> the paths given during building (as prefix).
>
> That paths may not be always present on other machines where I wish to
> use the tool chain.
>
> Any help would be appreciated.
>
> Thanks,
> Prashant
I had similar problems. To get a relocatable toolchain I configured gcc with --prefix and --with-sysroot pointing to the same path. This made gcc use relative paths.
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]