In development versions of gcc 4.6 past trunk commit r163770 spaces are introduced between the -D option marker and its parameter; i.e. "-DTEST" becomes two arguments "-D" "TEST" when passed to nesc-compile. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47236
This causes TinyOS application builds to fail with errors like:
two source files specified (PLATFORM_SURF and BOARD_)
because -DPLATFORM_SURF and -DBOARD_ were split.
Peter A. Bigot ( pabigot ) - 2011-01-09 09:11:03 PST