cross-compiling Questions

2

Solved

I've following issue. I'm tring to use native mechanism build in CMake for cross compilation. I prepared following toolchain.cmake file: set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm...
Ballottement asked 22/8, 2016 at 8:50

3

Solved

I'm trying to compile AODV for ARM linux. I use a SabreLite as a board with kernel version 3.0.35_4.1.0. It's worth mention that i'm using openembedded to create my Linux Distribution for my board....
Coatee asked 20/8, 2014 at 14:26

2

I'm trying to cross compile programs (currently avconv from libav) for a Nokia N9 phone using arm-linux-gnueabi-gcc from Linux Mint's 64-bit repository. The compiler's libc version is 2.15 and the ...
Skyros asked 11/7, 2013 at 20:47

7

I have a Dockerfile that I run on amd64 but want to run on arm64. Since go build tool takes GOARCH=arm64 as argument I don't need any other cross compilation tool to make the binary. # Run the bui...
Hypoderm asked 14/12, 2017 at 9:27

9

Solved

I am trying to cross-compile a go app on OSX to build binaries for windows and linux. I have read everything what I could find on the net. Closest example that I have found has been published on (a...
Demagogy asked 28/8, 2012 at 23:16

3

I'm seeing a lot of conflict information and would like some clarification. build, host and target There are three system names that the build knows about: the machine you are building on (buil...
Monanthous asked 30/10, 2017 at 8:0

3

Want to cross-compile a C application that uses Azure IoT SDK, which unfortunately requires Cmake. Cmake refuses to build my toolchain because it claims that it cannot find Openssl that I've compil...
Nescience asked 14/5, 2018 at 7:24

7

I'm going through the tutorial on making an OS on http://wiki.osdev.org/Bare_Bones. When I try to link boot.o and kernel.o using this command: i686-elf-gcc -T linker.ld -o myos.bin -ffreestanding -...
Lita asked 13/3, 2016 at 13:28

4

Solved

I'm writing a Cargo helper command that needs to know the default target triple used by Rust/Cargo (which I presume is the same as host's target triple). Ideally it should be a compile-time constan...
Sociable asked 24/2, 2018 at 21:3

2

In my program I need to load a shared library dynamically with dlopen(). Both the program and the shared library are successfully cross-compiled for an ARM architecture with the cross-compiler inst...
Villenage asked 20/3, 2015 at 20:29

2

Solved

I'm trying to cross-compile cachecoin binaries on a linux host using gitian and i686-w64-mingw for a windows target. The compilation works fine until the final step of static linking of the depend...
Iambus asked 8/5, 2015 at 15:1

10

Solved

I get the following error when running make, and I have no idea what it means or what to do about it. Can anyone illuminate me or point me in the right direction? (cd libdvdnav-git && patc...
Lucknow asked 11/1, 2013 at 16:37

2

Question Please help understand when CGO_ENABLED is must and unavoidable, and what happens with the go compilation process. When CGO_ENABLED is must After having read the articles in references,...
Melamie asked 30/4, 2020 at 2:59

9

Solved

I am writing an application in C++ which relies on various resources in my project. Right now, I have the relative path from the produced executable to each resource hard-coded in my sources, and t...
Mello asked 5/8, 2012 at 1:28

6

Solved

I am trying to cross-compile the Azure IoT SDK C for a Mips processor. Cross-compiling an older version of the same SDK using an older version of CMake (2.8.12.2) works just fine, so I doubt ...
Calycine asked 5/12, 2018 at 13:41

1

I am trying to build OpenSSH for Android. I am using the current (as of this writing) version, which is 9.3p. Here what I do (mostly taken from Building OpenSSH for Android): export ANDROID_NDK_ROO...
Vallombrosa asked 31/5, 2023 at 20:12

5

I am trying to compile ffmpeg for a android. I have found several posts on this theme but non of these seems to work. If tried to build ffmpeg like it is posted on [1]. Did anybody successfully com...

3

While trying to use a Ubuntu 14.04 system to cross compile Node.js v0.10.30 for ARM (Raspberry Pi B), I'm experiencing an error message: Node.js configure error: No acceptable C compiler found! ...
Crowley asked 6/8, 2014 at 21:24

6

Solved

I am working on a small library and for obvious reasons I would like to write code using all the Java 11 features (except modules I guess for now), but I would like the library to be compatible wit...
Julieannjulien asked 30/1, 2019 at 18:49

10

Solved

I would like to port my C/C++ apps to OS X. I don't have a Mac, but I have Linux and Windows. Is there any tool for this?
Meteoroid asked 29/3, 2009 at 1:37

2

Solved

I want to use clang-11 on my AArch64 Raspberry Pi 4, running Ubuntu 20.04 Focal. I looked at https://apt.llvm.org/, but AArch64 prebuilt binaries do not seem available? I tried building clang on t...
Kiyokokiyoshi asked 13/5, 2020 at 9:54

2

Solved

When cross compiling tools, you will often have to provide "a target triplet". Example given i686-pc-linux-gnu arm-none-linux-gnueabi powerpc-unknown-linux and so on... These triplets, which a...
Depreciatory asked 11/12, 2012 at 11:54

2

Solved

I have a basic rust/cargo project with a single main file and some basic dependencies. The cargo build command works fine when the target is not specified (I am using windows so it builds to window...
Protactinium asked 4/9, 2020 at 10:56

2

Solved

I had the below error while cross compiling a helloworld program on 64 bit Ubuntu 16.04, for 32 bit Cortex A9 platform. $ make /usr/local/comp/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-p...
Keefer asked 6/3, 2018 at 20:6

3

I am developing a C++ component that uses gRPC and use the following definitions in my bitbase recipe (Yocto dunfell) to build it with CMake: DEPENDS += "\ grpc \ grpc-native \ ... " ...
Idleman asked 2/6, 2021 at 16:47

© 2022 - 2024 — McMap. All rights reserved.