Pages: [1]   Go Down
Author Topic: Arduino 1.5.6-r2 for 64 bit Linux includes 32 bit gcc  (Read 585 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The current 1.5.6-r2 release for 64 bit linux packages a 32 bit toolchain, leading to compilation failures if 32 bit libraries aren't installed:

Code:
peter@peter-VirtualBox:~$ tar zxf arduino-1.5.6-r2-linux64.tgz
peter@peter-VirtualBox:~$ arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++
bash: arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++: No such file or directory
peter@peter-VirtualBox:~$ file arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++
arduino-1.5.6-r2/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped

On my Ubuntu test system I was able to get it to work by enabling multiarch and installing the 32 bit libc like this:

Code:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386

But would it be possible to ship a 64 bit toolchain instead?
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12285
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Linked in the issues list...
https://github.com/arduino/Arduino/issues/1904

@spacegaier, if you find any more problems with the beta version please create an issue...
https://github.com/arduino/Arduino/issues/new

Or, start / participate in a discussion on the Developers List...
https://groups.google.com/a/arduino.cc/forum/#!forum/developers

Thanks.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This approach solved the problem for me - linux mint 16 lmde x64 system.  Thanks.
Logged

Pages: [1]   Go Up
Jump to: