Kismet Wireless

Kismet Forums


Posted by:dragorn
Subject:Building newcore for OpenWRT
Date:19:21:20 20/12/2005

> Ok, I figured out how to strip the binaries with OpenWrt-SDK-Linux-i686-1/staging_dir_mipsel/bin/mipsel-linux-uclibc-strip and that shrunk the file size significantly (685412). Still trying to figure out how to make them statically linked (if that's even a good idea)...

Add CXXFLAGS=-static to your configure (before the ./configure, like where it sets CXX).

I wouldn't do static, personally, it makes it bigger. It should just work, if you turn on the uclibc++ in your openwrt sdk and install the uclibc++ package on your AP.

uclibc is small but it still adds another few hundred k to the binary to statically link it.


Reply to this message