This is the mail archive of the
mailing list for the GCC project.
Re: Standardized instructions for cross-compiling toolchain?
- From: Michael Habibi <mikehabibi at gmail dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 4 May 2016 12:36:14 -0500
- Subject: Re: Standardized instructions for cross-compiling toolchain?
- Authentication-results: sourceware.org; auth=none
- References: <CAOsp8o-fVfAjgez9ttRw0+ckm+MKOomAXnwURcGmCV+AsMX=oA at mail dot gmail dot com> <572A2247 dot 2020003 at redhat dot com> <CAOsp8o-qYO95SGj+mNsqVhak8gU4ECo8UMhByd+fyeN+iGJrJw at mail dot gmail dot com> <572A2747 dot 7020105 at redhat dot com>
Thanks again. I will look into using a prebuilt libc. If I were to do
those steps, do I only need to do a single gcc build with the sysroot
pointing to the root filesystem + new libc libraries? Or is there any
special bootstrapping or anything I would need to do?
On Wed, May 4, 2016 at 11:45 AM, Andrew Haley <email@example.com> wrote:
> On 05/04/2016 05:39 PM, Michael Habibi wrote:
>> That's fair enough. I will look into this. However I'm still a bit
>> curious about the original question nevertheless. If someone needed
>> to do the from-scratch method (let's say we need configure options
>> specific to our target that aren't built into a libc already
>> available), are there accepted steps?
> Crosstool is very popular. Beyond that, no, there are not any
> generally-accepted steps. There can't be, because There Is More Than
> One Way To Do It.