Archive for July, 2013

Listing object files built in a library

hamilton@springfield:~$ ar -t /usr/lib/libpq.a
fe-auth.o
fe-connect.o
fe-exec.o
fe-misc.o
fe-print.o
fe-lobj.o
fe-protocol2.o
fe-protocol3.o
pqexpbuffer.o
pqsignal.o
fe-secure.o
libpq-events.o
chklocale.o
inet_net_ntop.o
noblock.o
pgstrcasecmp.o
thread.o
strlcpy.o
getpeereid.o
ip.o
md5.o
encnames.o
wchar.o

Advertisements

Leave a comment

Cross Compiling Linux-Zigbee (IEEE 802.15.4) User Space Tools

Very useful information grabbed from http://wiki.beyondlogic.org/index.php/Cross_Compiling_Linux-Zigbee_for_ARM

Cross Compiling Linux-Zigbee (IEEE 802.15.4) User Space Tools
Netlink Protocol Library Suite (libnl)
Download, cross compile and install the Netlink Protocol libraries.

wget http://www.infradead.org/~tgr/libnl/files/libnl-3.2.21.tar.gz
tar -xzf libnl-3.2.21.tar.gz
cd libnl-3.2.21
./configure –prefix=/home/cpeacock/beagle –host=arm-linux-gnueabi
make
make install
Linux-Zigbee User Space Tools
With the dependencies above cross compiled for ARM and installed, download the lowpan-tools and cross compile.

wget http://sourceforge.net/projects/linux-zigbee/files/linux-zigbee-sources/0.3/lowpan-tools-0.3.tar.gz
tar -xzf lowpan-tools-0.3.tar.gz
cd lowpan-tools-0.3
make distclean
./configure –prefix=/ –host=arm-linux-gnueabi PKG_CONFIG_PATH=/home/cpeacock/beagle/lib/pkgconfig
make
make install DESTDIR=/home/cpeacock/beagle

Leave a comment

Searching expressions

# Egrep without checking binary files

egrep -rI ‘REGEX’ *

Leave a comment