Hiya, I've got a patch for the iw program to allow it to compile properly with the --as-needed linker flag. This flag requires that files and libraries are listed in a particular order, with required libraries listed after the functions that call them. The original Makefile for iw adds the libraries to the LDFLAGS variable, which is processed before the OBJS are listed (so the libraries are removed). This patch adds a LIBS variable and applies it after the OBJS variable. For more information on as-needed, please see http://www.gentoo.org/proj/en/qa/asneeded.xml. If you have any problems or issues with the patch, please let me know, thanks... 5:) Mike 5:)