mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
update README.md one more time
This commit is contained in:
parent
34a0ef5d80
commit
3c377fa9e9
@ -69,7 +69,7 @@ on debian like systems you can run `apt-get build-dep gcc` to install them.
|
|||||||
* 32 bit: `o32-gcc test.cpp -O3 -o test` OR `i386-apple-darwinXX-gcc test.cpp -O3 -o test`
|
* 32 bit: `o32-gcc test.cpp -O3 -o test` OR `i386-apple-darwinXX-gcc test.cpp -O3 -o test`
|
||||||
* 64 bit: `o64-gcc test.cpp -O3 -o test` OR `x86_64-apple-darwinXX-gcc test.cpp -O3 -o test`
|
* 64 bit: `o64-gcc test.cpp -O3 -o test` OR `x86_64-apple-darwinXX-gcc test.cpp -O3 -o test`
|
||||||
|
|
||||||
XX= the target version, you can find it out by running `osxcross-conf` and then see TARGET.
|
XX= the target version, you can find it out by running `osxcross-conf` and then see `TARGET`.
|
||||||
|
|
||||||
You can use the shorting `o32-...` or `i386-apple-darwin...` what ever you like more.
|
You can use the shorting `o32-...` or `i386-apple-darwin...` what ever you like more.
|
||||||
|
|
||||||
@ -77,11 +77,11 @@ You can use the shorting `o32-...` or `i386-apple-darwin...` what ever you like
|
|||||||
|
|
||||||
##### Building Makefile based projects: #####
|
##### Building Makefile based projects: #####
|
||||||
|
|
||||||
`make CC=o32-clang CXX=o32-clang++`
|
* `make CC=o32-clang CXX=o32-clang++`
|
||||||
|
|
||||||
##### Building automake based projects: #####
|
##### Building automake based projects: #####
|
||||||
|
|
||||||
`CC=o32-clang CXX=o32-clang++ ./configure --host=i386-apple-darwinXX`
|
* `CC=o32-clang CXX=o32-clang++ ./configure --host=i386-apple-darwinXX`
|
||||||
|
|
||||||
##### Building test1.cpp and test2.cpp with LTO (Link Time Optimization): #####
|
##### Building test1.cpp and test2.cpp with LTO (Link Time Optimization): #####
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user