base code and settings for cross compiling in eclipse