Closed distlibs closed 2 months ago
Yes please!
Hi, I tried to install the toolchain on RPi-3 64b;; Linux RaXXXX 5.10.103-v8+ #1529 SMP PREEMPT Tue Mar 8 12:26:46 GMT 2022 aarch64 GNU/Linux
It took a long time, but it finished with the following Error/s. Any logs I need to look into? Anything I am missing etc. Also, can I install this on a RPi- 64b, bookworm?;; Linux MiXXX 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
/opt/raspberry-pi-cross-compilers/build-scripts# ./RTBuilder_64b -g 11.2.0 -o bullseye -V . . /tmp/gcc-10.2.0/gcc-10.2.0/gcc/gengtype-lex.l: In function ‘int yylex(const char)’: gengtype-lex.c:356:15: warning: this statement may fall through [-Wimplicit-fallthrough=] /tmp/gcc-10.2.0/gcc-10.2.0/gcc/gengtype-lex.l:119:1: note: in expansion of macro ‘YY_DO_BEFORE_ACTION’ /tmp/gcc-10.2.0/gcc-10.2.0/gcc/gengtype-lex.l:114:1: note: here gengtype-lex.c:356:15: warning: this statement may fall through [-Wimplicit-fallthrough=] /tmp/gcc-10.2.0/gcc-10.2.0/gcc/gengtype-lex.l:136:1: note: in expansion of macro ‘YY_DO_BEFORE_ACTION’ /tmp/gcc-10.2.0/gcc-10.2.0/gcc/gengtype-lex.l:132:1: note: here collect2: fatal error: ld terminated with signal 9 [Killed] compilation terminated.**
make[1]: Waiting for unfinished jobs.... make: [Makefile:4733: all-gcc] Error 2** root@RaXXX:/opt/raspberry-pi-cross-compilers/build-scripts#
Thank you.
u can try these scripts for 64-bit https://github.com/henrihallik/qt-cross-compile-pi5_aarch64 which are based on https://www.interelectronix.com/qt-cross-compile-setup-scripts-raspberry-pi-4.html same scripts but for 32-bit OS
However i have tested these on Pi4&Pi5 so i dont know if they work on Pi3 These scripts in turn are based on abitronix toolchains but automate the setup process. They will cross-compile and install QT5 so u can just comment that part out or just wait for it to finish. If u leave it in U would need to modify the -device parameter in the .configure call and name it to how its called in qt-everywhere-src-5.15.8/qtbase/mkspecs/devices/...pi3...something
If I stop here, is there anything to remove or delete or worry about? If, then I'll go with the qt-cross-compile.
Thanks so much.
Has anyone able to cross compile for raspberry pi 5
@henrihallik @cnbaker @Givy @distlibs Support for both Bookworm OS and Raspberry Pi 5 is now available with v3.1.0
When GCC cross-compiler toolchains will be available for Raspberry Pi OS Bookworm?