diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-16 14:55:48 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-16 14:55:48 +0200 |
| commit | 63d2e9d409831aa8582787234cae4741847504b7 (patch) | |
| tree | 595fae753d2eb293437226eaab2eed208463f132 /results/scraper/box64/1993 | |
| parent | 2843bb65aeaeb86eb89bf3d9690db61b9dc6306e (diff) | |
| download | qemu-analysis-63d2e9d409831aa8582787234cae4741847504b7.tar.gz qemu-analysis-63d2e9d409831aa8582787234cae4741847504b7.zip | |
add box64 bug reports box64
Diffstat (limited to 'results/scraper/box64/1993')
| -rw-r--r-- | results/scraper/box64/1993 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/results/scraper/box64/1993 b/results/scraper/box64/1993 new file mode 100644 index 000000000..8074b8dd9 --- /dev/null +++ b/results/scraper/box64/1993 @@ -0,0 +1,17 @@ +Box64 Cross-compiling: Can I specify where the library files are going? +I'm trying to do some cross-compiles on my devices to target specific ARM64 devices, and I'm having difficulty getting the libraries that Box64 compiles to go into a specific folder. The following is my command line (note the slashes are just to escape the newline): + +``` +cmake -D CMAKE_C_COMPILER=aarch64-linux-gnu-gcc -D CMAKE_CXX_COMPILER=aarch64-linux-gnu-g++ \ +-D CMAKE_INSTALL_PREFIX=$(pwd)/box64-rpi -D ARM_DYNAREC=ON -D CMAKE_BUILD_TYPE=RelWithDebInfo \ +-D RPI3ARM64=1 +``` +I'll break it down step by step: +- I'm using a x64 host, so I'm using a cross compiler toolchain. +- I want the compiled files to be placed in the CMAKE_INSTALL_PREFIX path, which evaluates to `/workdir/box64-rpi`. +- I'm building a release binary with debug info. +- I'm wanting to use the R-Pi 3 enhancements where possible. + +However, with this I find that the box64 binary is copied into `/workdir/box64-rpi/bin` but other stuff gets placed in `/etc` and `/usr/lib`. I want it to be placed in `/workdir/box64-rpi/etc` and `/workdir/box64-rpi/usr/lib`. + +What am I doing wrong? \ No newline at end of file |