Skip to content

Cross-compile opensplice for armv7l #17

@alsora

Description

@alsora

Hi,

I'm trying to cross-compile this package, version 6.7.0, for an armv7l architecture.

I'm using a proper toolchain and a sysroot and I'm passing it to the cmake .. instruction.

Running

cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake ..

It prompts that an armv8 architecture has been found by the TargetArch.cmake file and it will be compiled according to armv7l.linux-release profile.

Then I call

make

However inspecting the built libraries, it looks like they have not been cross-compiled as they indicate an x86-64 version.

$ file opensplice/install/minimal/lib/libddsos.so
libddsos.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=77d9d32d5e765e29bd928641df67e9546a4c97f4, not stripped

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