Standardized instructions for cross-compiling toolchain?

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


I follow what you're saying now. Thanks!

On Wed, May 4, 2016 at 12:50 PM, Andrew Haley <aph@redhat.com> wrote:
> On 05/04/2016 06:46 PM, Michael Habibi wrote:
>> I think the reason we went with crosstool-ng in the past is that we
>> are using a custom built distribution based on a vanilla kernel and
>> some various open source/IP added on top. Over time, we have needed to
>> upgrade gcc/glibc to pick up changes/CVEs, etc. Given that, I don't
>> think we can simply leverage the target files of another available
>> distribution and expect it to plug into ours cleanly for the purposes
>> of rebuilding gcc.
>
> Sure, but it gets you a working compiler to begin with without you
> having to build your own libc first, even if it's the "wrong" distro.
> When you have the "right" distro you can build it again.  This is,
> more or less, what crosstool does.
>
> Each to their own.
>
> Andrew.
>



More information about the Gcc-help mailing list