Skip to content

Feature/Discus request regarding canadian-cross compiling the toolchain #27

@BlackDex

Description

@BlackDex

Hello there,

Because discussions is not enabled for this repo, I place it here, as it's not an issue.

I wonder if someone every tried to do a canadian-cross compile with this?
What my main goal is.

  • Build everything on a x86_64-linux-gnu system
  • Which targets armv6-linux-musleabihf for example
  • But, the host architecture where all is running on would be aarch64-linux-gnu

This way it would be possible to build cross-compilers for all the provided targets but then are able to run on a arm64/aarch64 host/architecture.

Else something like QEMU needs to be used to emulate the aarch64 architecture, which is probably not going to provide the best performance.

Someone an idea, or tried this before either using mussel or something else? And if so, does someone have any pointers?

Thanks in advance!

btw. I already tried to install the aarch64-linux-gnu-g** cross compilers, use that as GCC/G++ and added the correct --host and --build arguments to the configure commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions