I haven't used gcc in a long time, but if the TARGET system is an x86 and you built your app specifically for that TARGET you should be ok.
That is how it is possible to build on one OS binaries for other OSes. They don't run on the source machine, but they run on whatever target they were built for.