angstrom-linux

Cross-compiling ocaml apps for ARM

♀尐吖头ヾ 提交于 2019-12-05 02:32:47
I'm cross-compiling a touchscreen driver, which comes with an ocaml calibration application. I'm trying to compile the driver and the application for ARM, in particular, the Beagleboard, running Angström. It goes like this: ^_^[raziel@Bebop zytouch-driver-20081121]$ source /usr/local/angstrom/arm/environment-setup ^_^[raziel@Bebop zytouch-driver-20081121]$ make CC=arm-angstrom-linux-gnueabi-gcc arm-angstrom-linux-gnueabi-gcc -std=gnu99 -g -O2 -Wall -Wextra -Werror -Wstrict-prototypes -Wmissing-prototypes -c -o daemon/config.o daemon/config.c arm-angstrom-linux-gnueabi-gcc -std=gnu99 -g -O2

Post-install script on Yocto-built linux

久未见 提交于 2019-12-04 14:07:03
问题 I need to run a script on a target OS built by Yocto. This script needs to be ran as part of the install and thus must be ran only once (either after the entire OS install or on the first boot). It cannot be ran on the host system, as it depends on the hardware IO which exists only on the target. An additional, minor, constraint is that the rootfs is mounted as read only, but I guess that can be avoided by having the script re-mount as rw and again remount as r after the execution or

Unable to Debug Multi-Threaded Application with gdb

守給你的承諾、 提交于 2019-12-04 00:11:06
I am debugging a multi-threaded application with gdb, but when I start the program in gdb I get the warning: warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. I can still debug, but I can't debug anything other than the main thread. I have read forums that suggest installing the packages libthread-db1 and glibc-dbg, but this does not correct the problem for me. On my machine I have the 3 files /lib/libthread_db.so.1 , /lib/.debug/libthread_db-1.0.so , and /lib/libthread_db-1.0.so . I tried creating symbolic links in /lib with the