Skip to main content

Questions tagged [cross-compilation]

Questions should concern compiling for a platform different than the one the compiler is running on. Compiling inside a VM does not count unless it's some sort of hybrid setup i.e. the host which is a different platform is involved.

0 votes
1 answer
44 views

I have download the toolchain from here enter link description here Precisely this one arm-gnu-toolchain-14.3.rel1-x86_64-aarch64-none-elf.tar.xz I try a simple .c file vim simple.c #include <stdio....
elbarna's user avatar
  • 14.5k
0 votes
1 answer
79 views

I start to cross-compile a kernel for an old ppc64 machine using a fast amd64 machine. I have installed all deps apt -y install bash-completion make build-essential linux-source bc kmod cpio flex ...
elbarna's user avatar
  • 14.5k
0 votes
1 answer
136 views

I'm trying to compile newlib 3.0.0 for target m68k-aout I've already got binutils and gcc for the target built I'm building it with gcc-13.3.0, But I'm getting these two errors. newlib-3.0.0/newlib/...
7dog123's user avatar
  • 11
0 votes
0 answers
160 views

I am struggling with cross compiling certain packages. In my environment i do have already the source Debian package including debian/control. Building nativly for the host architecture (e.g. amd64) ...
Matthias Goldhoorn's user avatar
2 votes
1 answer
300 views

I have an sample application and an make file. main.c file contents #include <stdio.h> /*int mainentry_entry(int argc, char *argv[]) {*/ int main(int argc, char *argv[]) { int i; ...
user3035194's user avatar
0 votes
0 answers
520 views

I am working on an embedded Linux system (kernel-5.19.20) on MIPS, and I want to build tools/perf for my system. I want to have libelf feature enabled when cross compile perf, so I firstly cross-...
wangt13's user avatar
  • 651
1 vote
1 answer
89 views

I am trying to cross compile a go project (syzkaller) to target a Pi Zero so it can emulate usb devices. The problem is that I have been unable to find information regarding how to specify the proper ...
Darrion Ramos's user avatar
0 votes
1 answer
970 views

I've been trying to cross compile the source code to build GCC 12.2.0 for my RaspberryPi 4 B running Ubuntu 22.04. SO far I've tried doing this while configuring the project: ../gcc-12.2.0/configure --...
MetalAllegiance's user avatar
0 votes
1 answer
231 views

I am working on an embedded RTOS on ARM, now I am going to build the GNU toolchain for the ARM in my X86 Linux host (ubuntu-20.04), so I did followings by referring to https://gnutoolchains.com/...
wangt13's user avatar
  • 651
0 votes
0 answers
349 views

I tried to build this SDL2 sample program, but failed. I made it with Makefile: CFLAGS = -I/usr/include CC = arm-linux-g++ sdltest: sdl2-test.cpp $(CC) sdl2-test.cpp -L/usr/lib/x86_64-...
Stan Huang at Taiwan's user avatar
2 votes
0 answers
145 views

I have compiled canboat for PiCore64 from my amd64 workstation using docker and qemu. Specifically this is my build script: #!/bin/sh set -e NAME=canboat cd canboat make all cd .. mkdir -p ./root/...
rhbvkleef's user avatar
  • 121
0 votes
0 answers
544 views

I'm building git from source from a debian 10 vm that has /lib/ld-linux-aarch64.so.1, which ends up linked in the git binary after a basic NO_TCLTK=true make prefix=$(pwd)/2.41.0/arm make all and ~ ...
bpstrngr's user avatar
  • 101
1 vote
1 answer
2k views

I have an ARM-based board, which I used with factory kernel (5.10.110). To manually build a kernel module, I needed the kernel-header package. To install this package it was explained in the ...
Daniel's user avatar
  • 418
0 votes
2 answers
1k views

I've got an arm-based (arm_v8-64, ubuntu20.04) target machine and an amd-based host machine (x86_64, ubuntu20.04). Since the cpu is much more powerful on the host than on the target, I wonder whether ...
furynerd's user avatar
-1 votes
1 answer
166 views

I have a project I want to cross compile (as well as native). I've installed my cross compiler under /opt/x-compiler/arm32/ and I also add some dependencies I have under /opt/lib/arm32/. The ...
CIsForCookies's user avatar

15 30 50 per page
1
2 3 4 5
18