4,669 questions
0
votes
0
answers
16
views
How to let pkgconfig find the cross compiling library?
I'm cross compiling my project from Debian x86_64 host to arm64, using the cross compilers and multiarch libraries installed from Debian's official repo. My project is built with CMake.
My problem is: ...
-4
votes
0
answers
21
views
Crosscompile Node JS for ARM7 (or where to get one) [closed]
I'm struggle to compile nodejs for PTZ camera which runs on ARM7.
Does anyone know a way how to compile it properly from linux machine or better yet a place where I can get one?
I guess previously it ...
0
votes
0
answers
11
views
PKG_CONFIG_PATH being cleared halfway through "meson setup"
I'm attempting to build gstreamer from source. I've built all the dependencies from source, and exported the PKG_CONFIG_PATH so the pkg-config can find all of these dependencies.
I can echo my ...
0
votes
0
answers
120
views
Libc removed from cyclic dependency group during linking
I am cross-compiling an example project on Linux to target a CortexA72. My project consists of the following files:
/* main.cpp */
int main() { return 0; }
/* syscalls.cpp */
#include <sys/types.h&...
0
votes
1
answer
44
views
gcc 14.2.0 fails fo compile
I'm trying to build Linux From Scratch 12.3 systemd, but the last (third, in chapter 8) gcc compilation fails. Apparently, is a problem with the 'mulxc3' function. These are the last lines of the log ...
0
votes
1
answer
28
views
CMAKE_INSTALL_PREFIX for cross-compile Linux-to-Windows
I'm using CMake to cross-build a package for Windows from a Linux machine. To do this, I need to supply the target install prefix to be embedded into the package. But I can't figure out how to set a ...
0
votes
0
answers
12
views
How to enable --make_bundle in runcpu?
The tool suite of SPEC06, runspec, provides the --make_bundle option to package the already compiled benchmark binaries on the current server. This makes it very convenient to run these programs on ...
1
vote
3
answers
181
views
Is there any way to instruct gcc to avoid a function prologue and epilogue, so that the function is called with a single instruction?
I'm working on some C code intended for rendering graphics on vintage hardware. The platform's architecture is m68k, and I'm cross-compiling using gcc.
I have a function that's being called many times ...
0
votes
0
answers
12
views
#error "Unable to determine type definition of intptr_t" with RX toolchain and PC-lint
I'm working on a Renesas RX project using the MinGW RX toolchain (GCC 8.3.0a) and running PC-lint for static analysis. During linting, I get the following error:
#error "Unable to determine type ...
0
votes
0
answers
57
views
Can I Pass Compilation Constants to a PARENT Project Reference?
I have three projects:
└─ Solution
├─ Host (class library, core logic)
├─ Host.Windows (Windows executable)
└─ Host.Android (Android application)
Host.Windows and Host.Android ...
0
votes
0
answers
67
views
SDL3 Android Manual Build - App won't start
I'm automating the Android build process for an SDL3-based project without using Gradle. While SDL provides an Android project template, it doesn't fully cover my case, so I'm customizing it to ...
1
vote
1
answer
84
views
Linker not linking to basic libraries in cross compile
I've got an alpha cross compiler on an x86_64 host, that seems to build everything, but I can't get it to compile this simple test program:
#include <stdio.h> /* puts */
#include <stdlib....
0
votes
0
answers
79
views
gdb [unable to initialize decompress status for section .debug_loclists][not in executable format]
I use a cross-compile tool, compile a huge Android project to Unbuntu executable format app_host.
The app_host can run correctly on my Ubuntu system.
But when I try to gdb app_host,the gdb show below ...
0
votes
1
answer
78
views
crosstool-NG creating and using sysroot
I am creating a cross compile tool chain for x86 host to rPi 4 using crosstool-ng. The pi has:
libc.so -> GLIB 2.36
libstdc++.so -> GLIBCXX_3.4.30, GLIBC_2.34
kernel -> 6.12.20
gcc -> 12....
2
votes
1
answer
60
views
"lld-link: error: could not open 'blosc.lib' " for cross-compiling in Rust (Linux->Windows)
I'm trying to cross-compile a Rust program on Linux to Windows. This program contains a function that uses Blosc. A minimal reproducible example can be done with
> cargo init
> cargo add blosc
...