take a look at https://software.intel.com/en-us/iot/devkit. You'll find an Eclipse IDE setup with cross compile environment as well as remote debugging to support Edison development.
[alternatively you would find a cross compile enviroment coming within the Arduino IDE for Edison. However, that's less straightforward to use out of the Arduino IDE]