Questions tagged [cross-build]

Cross Build is a piece of software which was created to run on a cross environment such as operation system, browsers, mobile devices, etc.

Cross Build is a piece of software which was created to run on a cross environment such as operation system, browsers, mobile devices, etc.

37 questions
1
vote
0 answers

crossbuild cmake tutorial for Linux, Mac and Windows

CMake has a tutorial here: https://github.com/Kitware/CMake/tree/master/Help/guide/tutorial/Complete I would like to crossbuild it for Linux, Mac and Windows using: https://github.com/multiarch/crossbuild Crossbuild provides a docker image for…
Kim T
  • 5,770
  • 1
  • 52
  • 79
1
vote
1 answer

go container build (arm) with CGO timeout with net/http: TLS handshake timeout

I have a project using go mod and CGO that has a relatively large dependency tree. Building natively (GOOS=linux, GOARCH=amd64) works fine. Building in a CI (on my own runner) using my custom build container (several architectures, including arm)…
ppenguin
  • 155
  • 1
  • 11
1
vote
0 answers

How to read from Resource folder in a Cross Built Project

I have a cross build project with the following structure: +- jvm | +- src/main/scala/main.Scala +- js | +- src/main/scala/main.Scala +- shared +- src/main/scala/myLibrary.scala +-…
finite_diffidence
  • 893
  • 2
  • 11
  • 20
1
vote
3 answers

How to crosscompile applications on Ubuntu to Windows

I have been developing an app built upon Qt 5 on Ubuntu in Qt Creator. The project format used is CMake. It's time to cross-compile the stuff into a binary which can be run on Windows. So I have installed clang and mingw-w64 created a CMake…
KOLANICH
  • 2,904
  • 2
  • 20
  • 20
1
vote
0 answers

crossbuild-essential-armel : unmet dependencies in Docker from debian:jessie

I have a docker container which I use to cross-compile applications for Debian-jessie. I had no problem with it since very recently but now it appears that I have unmet dependencies that I can not resolve : The following packages have unmet…
1
vote
0 answers

Compatability of cross-built COFF files and MSVS

I have cross-built a win32 static library using i686-w64-mingw32-gccon a linux box. I have inspected the resulting .lib file with nm on the linux side and see: bsd_offset.o: U __assert 00000000 T _bsd_offset 00000000 b .bss 00000000 d…
bph
  • 10,728
  • 15
  • 60
  • 135
1
vote
1 answer

Exporting Functions from a Win32 Cross Built Static Library

I attempted to build a win32 static library using the i686-w64-mingw32 cross-build toolchain. I built the object files and the mylib.lib file via a Makefile: $(program_RELEASE_NAME_WIN_STATIC): $(RELEASE_OBJS_WIN32_STATIC) …
bph
  • 10,728
  • 15
  • 60
  • 135
1
vote
0 answers

Which maven plugin can solve '[WARNING] 'artifactId' contains an expression but should be a constant'?

Since maven 3 it is no longer recommended to include property variable in maven pom root artifactId section. User will be prompted to remove it with this warning: [WARNING] 'artifactId' contains an expression but should be a constant. This causes…
tribbloid
  • 4,026
  • 14
  • 64
  • 103
1
vote
1 answer

Building ncurses for armv7-apple-darwin

I got ncurses-5.9 from gnu's ftp, extracted and changed dir to the ncurse directory and did this : mkdir build && cd build ../configure --prefix=/usr/local/GNU-CROSS/ncurses-6.0/ CC="clang -fembed-bitcode -isysroot…
Olórin
  • 3,367
  • 2
  • 22
  • 42
1
vote
0 answers

Building Qemu(ARM emulation) for Windows64 on Linux64

I am trying to run an emulation of ARM VExpress in QEmu. My End platform is Windows64. And my build system is running Linux64. I am using QEmu version 2.3.0 and x86_64-w64-mingw32 toolchain. I faced quite a lot of issues during the build, but solved…
1
vote
1 answer

Metabuild tool to handle multiple cross-builds simultaneously

I have a mid-sized C++ project that runs on Linux, Windows and Mac OS X, both 32- and 64-bit. On some platforms it has more than one variant (e.g. Gtk-2 and Gtk-3 variants on Linux). Being mostly a hobby programmer, I don't have resources for…
cyco130
  • 4,654
  • 25
  • 34
0
votes
0 answers

FLUTTER: Deployment on ARM64 based Board

Hello and thank you for stopping by! So far the experience has been great on my dev. laptop (Linux AMD64) but the apps that I want to develop are targeted mostly for ARM64 based Linux one PCB computers. First I tried cross-compiling from the laptop…
0
votes
1 answer

Docker: failed to copy xattrs: failed to set xattr "security.selinux"

I'm trying to build a docker image using Gitlab-CI for linux/arm/v7 platform but unfortunately I'm facing the following error: [3/7] RUN apt-get update ERROR: executor failed running [/dev/.buildkit_qemu_emulator /bin/sh -c apt-get update]: failed…
Nrgyzer
  • 783
  • 1
  • 14
  • 38
0
votes
1 answer

How to build GMP in MSYS2?

I would like to use GMP on windows, and I need to build static programs. (which means that, if anyone can provide another solution to compile win32 x86_64 programs using libgmp, I will also appreciate it.) Now I have msys2 installed, and in it I…
Yutsing
  • 126
  • 9
0
votes
0 answers

How to cross-build luajit-5.1 for an ARM Linux device? (Trying to build LÖVE framework)

I'm trying to cross-build LÖVE (https://love2d.org) for an ARM Linux device (Rockchip RK3066) from Ubuntu 16.04. As the documentation says, I installed all dependencies on Ubuntu and was able to build it (for Ubuntu, as a test). Now I'm going for…
molul
  • 3
  • 1