https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67286
--- Comment #8 from weiguo.zhou <weiguo.zhou at spreadtrum dot com> ---
(In reply to Yury Gribov from comment #5)
> (In reply to Dmitry Vyukov from comment #4)
> > +eugeni can provide more details.
> 
> Please! E.g. how do you build compiler and runtime?


the keypoint to generate a gcc-based cross-compiler toolchain for android/arm32
as following:

1) generate an stage-1 cross-compile gcc toolchain with  the existing native
gcc;
2) build the sysroot from scratch with the stage-1 cross-compile toolchain;
3) generate the final cross-compile gcc_toolchain with the corresponding
sysroot.


you can see the keypoint is that we should "create a right sysroot" for the
final cross-compile gcc-toolchain for android/arm32.

Reply via email to