4

is it possible to compile (under mac os x using netbeans) C++ code for linux architectures?

Bob
  • 10,741
  • 27
  • 89
  • 143
  • It can be done without NetBeans. Not sure it can be done *with* NetBeans though. – Ignacio Vazquez-Abrams Dec 01 '10 at 05:10
  • 2
    http://stackoverflow.com/questions/1775267/how-to-cross-compile-from-mac-os-x-to-linux-x86, and if you don't want to virtualize, you can follow the links from the answer to : http://www.nongnu.org/thug/cross.html – wkl Dec 01 '10 at 05:11

1 Answers1

1

Yes, it's possible. It's called cross-compiling. For instructions how to build and use cross-compiler go here.

Oleksandr Kravchuk
  • 5,963
  • 1
  • 20
  • 31