Standardized instructions for cross-compiling toolchain?

Michael Habibi mikehabibi@gmail.com
Wed May 4 17:36:00 GMT 2016


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 <aph@redhat.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.
>
> Andrew.
>



More information about the Gcc-help mailing list