How to cross compile from Mac OS X to Linux x86?

后端 未结 5 957
眼角桃花
眼角桃花 2020-11-29 05:27

I\'m running Mac OS X 10.5.8 and want to compile for target CentOS 5.3 with GCC 4.1.2. How could I:

  1. Compile GCC 4.1.2 toolchain and related tools?
  2. Use
5条回答
  •  暖寄归人
    2020-11-29 06:03

    Use Cocotron to cross-compile directly from Xcode. There's a good getting-started guide here: http://blog.tlensing.org/tag/cocotron/

提交回复
热议问题