mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
18 lines
752 B
Plaintext
18 lines
752 B
Plaintext
- 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.
|
|
|
|
After that edit GCC_VERSION in build_gcc.sh, so it fits your requirements, then finally
|
|
run ./build_gcc.sh to start building gcc.
|
|
|
|
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.
|