Just a quick collective thank you to Dave Hylands and Chris Kuethe who sorted me out off-list ! :-)
"static" flag was precisely telling the compiler NOT to share the flag, "extern" OTOH does just that. Program works as expected now, thanks chaps. -- Vince _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list