81 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
21
views
How add external libraries with crosstool-NG
I need help to add this library libimobiledevice to my project.
This is my Dockerfile:
#download and install libimobiledevice
RUN git clone https://github.com/libimobiledevice/...
0
votes
0
answers
26
views
How add extra librarie using crosstool-ng in Ubuntu 22.04?
Hello can someone help me add this lib through crosstool-ng?
sudo apt-get install usbmuxd libimobiledevice6 libimobiledevice-utils
I tried to do as mentioned above but without success.
git clone https:...
0
votes
1
answer
187
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....
1
vote
0
answers
95
views
Add prefix to crosstool-ng sysroot binaries in `sysroot/usr/`
I am building a cross-native toolchain with crosstool-ng: build=x86_64, host=target=arm.
I need this new toolchain to include a different glibc than the one already installed to the system at /.
On ...
2
votes
1
answer
1k
views
crosstool-ng how to add extra libraries to cross compiler toolchain for debian
I'm trying to create a cross compile tool with crosstool-ng 1.25 and everything seems to work but I can't add extra libraries.
The issue here is that I can't find a way to add extra packages to the ...
1
vote
0
answers
61
views
Returning a struct fails to properly copy data members
I'm cross-compiling a program for a raspberry pi 3. Below is a minimal working example of something I've written that show's an issue I'm running into.
I'm trying to fill a struct and then return that ...
0
votes
1
answer
260
views
How run make file in rpi4
I have built on ubuntu host the kernel/rootfs for rpi4 model b 64-bit with latest buildroot and using crosstoolng aarch64-rpi4-linux-gnu and raspberry pi os as source . How can I run a make file in ...
0
votes
1
answer
412
views
crosstool config fail: panel library not found
When trying to configure crosstool-ng I run into error: panel library not found
...
...
checking for working ncursesw.h... no
checking for working ncurses.h... yes
checking for Curses Panel library ...
3
votes
0
answers
4k
views
error: linker `aarch64-unknown-linux-gnu-gcc` not found - M1 Mac
Trying to cross compile Rust for the Raspberry Pi and running into a lot of issues - I believe I've reduced it down to this 'linker not found' error. Only trouble is, I'm not sure how to go about ...
0
votes
2
answers
1k
views
how to config u-boot for imx6?
When I am trying to make u-boot for apalis-aimx6-quad board, and below list is shows the details of my configuration:
CROSS_COMPILER = aarch64-unknown-linux-gnu
1.1 it already exported to path
1.2 ...
0
votes
0
answers
633
views
ctosstool-ng build fails on cygwin for armv8-rpi3-linux-gnueabihf
I am trying to build a arm RPI4 crosscompiler and toolchain on cygwin on windows 10 with ctosstool-ng-1.24.0
The process works fine generating a arm RPI4 toolchain from ubuntu 20.4 host but fails on ...
1
vote
0
answers
424
views
How can i build a real relocatable SDK with Pre-Built/Installed Crosstool-NG toolchain via buildroot in a docker container?
Setup:
Host : Ubuntu 20.04 Docker container
WorkspacePath : /workspace
External ToolChain : Pre-Built and installed at /workspace/crosstool_ng/arm-**
BuildSystem : BuildRoot at /workspace/buildroot
...
1
vote
1
answer
1k
views
Failing to download expat in crosstool-ng
I'm attempting to create a toolchain for my Raspberry Pi using my Ubuntu box. I've installed crosstool-ng 1.24.0. When I run ./ct-ng build, it says that it fails to download expat. Here's the ...
0
votes
1
answer
929
views
Is compiling GCC as static toolchain and plugins support mutually exclusive?
I'm cross compiling AVR GCC to be used on Android with crosstool-ng. I need to compile it with LTO support (-flto and -fuse-linker-plugin) thus passing CT_STATIC_TOOLCHAIN=y, CT_CC_GCC_USE_LTO=y, ...
0
votes
2
answers
945
views
building esp-open-sdk - crosstool-NG can't find expat-2.1.0
I'm compiling the toolchain for ESP8266EX using esp-open-sdk
and I get an error:
Error happened in: do_expat_get[scripts/build/companion_libs/210-expat.sh@741]
called from: do_companion_libs_get[...