osxcross/README.gcc

18 lines
752 B
Plaintext
Raw Normal View History

- OSXCross: OS X cross toolchain for linux -
After finishing ./build.sh you can optionally build gcc as well.
Don't forget to run "source ~/.profile" after adding the PATH exports to your .bashrc or .profile,
or simply start a new shell session.
Then make sure you have got the build dependencies for gcc installed on your system,
see: http://gcc.gnu.org/install/prerequisites.html
On debian like systems you can run 'apt-get build-dep gcc' to install them.
2013-11-12 18:33:26 +01:00
After that edit GCC_VERSION in build_gcc.sh, so it fits your requirements, then finally
run ./build_gcc.sh to start building gcc.
2013-11-12 18:33:26 +01:00
If everything went well, then you'll have "x86_64-apple-darwinXX-gcc, i386-apple-darwinXX-g++"
(or o32-gcc, o64-g++, ... as shortcuts) available as compiler.