Skip to content

Problems trying to cross-compile for ARM on Linux #161

@zoelilylain

Description

@zoelilylain

Everything goes right until:
arm-linux-gnueabi-g++ -g -O2 -o sbasic ../../lib/lodepng/lodepng.o main.o input.o device.o image.o decomp.o -L../../../src/common -lsb_common -lm -ldl -lpthread -lpcre -ldl ../../lib/lodepng/lodepng.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status

Am I correct in assuming I'm going to need to cross-compile the dependencies as well? the file in question reports as a x86_64 elf when I run "file" on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions