Skip to content

Cross compilation ignores arch and bits options #24008

@BeayemX

Description

@BeayemX

Godot version:

c23710a

OS/device including version:

Linux Mint 19 - 64 Bit

Issue description:

When trying to cross-compile for Raspberry Pi with the command

scons p=server target=release tools=no arch=arm bits=32

the resulting binary shows x86-64 and 64 bit

$ file bin/godot_server.x11.opt.arm 

bin/godot_server.x11.opt.arm: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=1e49465a67d791c668be1e1007fbb36d319c13c0, not stripped

Edit:

$ gcc --version
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions