On 06/03/2015 12:23 PM, Jim Wilson wrote:
> On Wed, Jun 3, 2015 at 9:26 AM, Virendra Kumar Pathak
> <[email protected]> wrote:
>> I am trying to build a cross-native toolchain for AARCH64 using ABE build
>> framework.
>> By cross native I mean that toolchain will be build on 0x86 (Red hat
>> Santiago 6.4), it will run on AARCH64 (Juno) and
>> will produce binaries to be run on AARCH64 (Juno)
>> (If I am not mistaked) --build=0x86, --host=AARCH64, --target=AARCH64
ABE has full support for building a Canadian cross. Just use --host
for the host. I've only tested this with win32 builds though. You can
look at abe/scripts/MakeRelease.job to see how I do this. The process to
use is first build the cross compiler, ie... arch64-linux-gnu. Make sure
where it gets installed is in your PATH. Then run ABE again with --host
for the x86 machine. Abe will use the aarch64 cross compiler for the
libraries, and in the win32 case, it'll use mingw32 for all the executables.
It's a lot easier to build natively though. In that case don't supply
--target to ABE.
- rob -
_______________________________________________
linaro-toolchain mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/linaro-toolchain