Take a look at the the wire.h library from the Arduino Website. http://arduino.cc/en/Tutorial/MasterWriter
I was able to communicate between an Arduino Uno and a Galileo. As well as two Galileo's. Just keep in mind that Galileo can only be used as Master not Slave.