Hi Mike, No, I don’t believe you can - this toolchain is for 32 bit / cortex-a53. You’re looking for aarch64, which I’m also looking into - for the minute this works for RPi3 / raspbian. Best regards, Stefan Mulvad > On Mar 2, 2016, at 3:51 PM, Mike Ray wrote: > > Hello. > > I have used this sample to build a toolchain. > > However I get 32-bit executables and the '-m64' switch is not recognised. > > There is obviously a gap in my knowledge which I can't seem to find an > answer for on Google. > > Can I compile a 64-bit executable? If so, how? > > Thanks for any help. > > Mike > > > On 02/03/2016 20:11, Bryan Hundven wrote: >> Branch: refs/heads/master >> Home: https://github.com/crosstool-ng/crosstool-ng >> Commit: bc9ed3c5cb4a9b003ad9a48381cef0142d617dad >> https://github.com/crosstool-ng/crosstool-ng/commit/bc9ed3c5cb4a9b003ad9a48381cef0142d617dad >> Author: Stefan Hallas Mulvad >> Date: 2016-03-02 (Wed, 02 Mar 2016) >> >> Changed paths: >> A samples/armv8-rpi3-linux-gnueabihf/crosstool.config >> A samples/armv8-rpi3-linux-gnueabihf/reported.by >> >> Log Message: >> ----------- >> Adds Raspberry Pi 3 sample config >> >> Signed-off-by: Stefan Hallas Mulvad >> >> >> Commit: 0f76cad2f078bfa2726639c7a812dcc84f331d4a >> https://github.com/crosstool-ng/crosstool-ng/commit/0f76cad2f078bfa2726639c7a812dcc84f331d4a >> Author: Bryan Hundven >> Date: 2016-03-02 (Wed, 02 Mar 2016) >> >> Changed paths: >> A samples/armv8-rpi3-linux-gnueabihf/crosstool.config >> A samples/armv8-rpi3-linux-gnueabihf/reported.by >> >> Log Message: >> ----------- >> Merge pull request #360 from kongen/RPi3 >> >> Adds Raspberry Pi 3 sample config >> >> >> Compare: https://github.com/crosstool-ng/crosstool-ng/compare/785dbce3510a...0f76cad2f078 >> >> >> >> -- >> For unsubscribe information see http://sourceware.org/lists.html#faq >> > > > -- > Michael A. Ray > Analyst/Programmer > Witley, Surrey, South-east UK > > Eyes-free Linux: > http://eyesfreelinux.ninja/ > > Raspberry VI: > http://www.raspberryvi.org/ > > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq >