ag123 Posted August 13, 2018 Share Posted August 13, 2018 hi, i'm pretty new to armbian, i'd like to setup a arm-gcc cross compilation toolchain in my current (old) suse-linux distribution i've read this thread which suggest to use the Ubuntu Bionic 18.04 x64 image in a virtual machine i've also read some other sites on the gcc / g++ tool chain http://linux-sunxi.org/Toolchain https://www.linaro.org/latest/downloads/ https://releases.linaro.org/components/toolchain/binaries/ https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/ for the linaro toolchains, there are many releases the latest being 7.3.1. as of this post my questions are: 1) if i use the linaro toolchain tarballs, which is the recommended release / version to use with the current armbian kernel builds and for building / compiling from source codes? 2) can i use the latest linaro release instead e.g. 7.3.1? i'd prefer to install only the toolchain rather than the Ubuntu Bionic 18.04 image as i'm doing mainly just kernel compiles and some other sources rather then building the full armbian distribution my target platform is the Orange Pi One and Orange Pi PC which are based on Allwinner H3 SOC thanks in advance ! Link to comment Share on other sites More sharing options...
Igor Posted August 14, 2018 Share Posted August 14, 2018 11 hours ago, ag123 said: if i use the linaro toolchain tarballs 1. and 2. Armbian Toolchain downloads and use right compiler version at right time. We use 13 of them to manage all sources. If you need it just for one kernel / u-boot source you might need just one or two. 11 hours ago, ag123 said: i'd prefer to install only the toolchain rather than the Ubuntu Bionic 18.04 image as i'm doing mainly just kernel compiles and some other sources rather then building the full armbian distribution 3 If you will compile only a kernel, it won't took much space ... but we don't divide host dependencies for kernel compilation and making images. If you know which compiler you need, you can DIY. Remember to grab patches and adjusted kernel config from build source for a start ... Why don't you simply use Docker compilation type? This way of building should run on any X64 distro. Link to comment Share on other sites More sharing options...
ag123 Posted August 14, 2018 Author Share Posted August 14, 2018 hi Igor, thanks much for the quick response. i'd try that out i.e. ubuntu bionic image or docker it would seem that the docker setup may use less space and resources. i've an impression that the virtual box image would take perhaps gigabytes of space to keep that image Link to comment Share on other sites More sharing options...
Recommended Posts