Author Topic: What 's the real meaning "C::B can build the project cross the platform "???  (Read 3648 times)

FreeSouth

  • Guest
????

Means the code is able to build on the ubuntu , but can run on the windows directly?  Do  I perceive in this way correct?

Thank you~~~~
@_@

 

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Only if you have a Linux-Windows cross-compiler. Generally, Code::Blocks is designed to help you create programs that can be compiled on more than one platform.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

FreeSouth

  • Guest
Only if you have a Linux-Windows cross-compiler. Generally, Code::Blocks is designed to help you create programs that can be compiled on more than one platform.

thx
Could you like to introduce a  cross-compiler to run on the Linux with C::B?
I want to build the OpenSceneGraph project on the ubuntu, please give me some addvise~~~   

Offline raph

  • Almost regular
  • **
  • Posts: 242
MinGW is the Windows port of GCC. You can use it on Linux to cross compile.
e.g. see here

Regards
raph

FreeSouth

  • Guest
Thank you raph ~~~


Regards
FreeSouth~~