From 0df1bbd817a7ae1f06358d73aeef18b8448ed99a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Wed, 13 Nov 2013 21:21:05 +0100 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5ee5436..7571a1d 100644 --- a/README.md +++ b/README.md @@ -55,25 +55,25 @@ on debian like systems you can run `apt-get build-dep gcc` to install them. ### SDK DOWNLOAD LINKS: ### -### Usage Examples: ### +### USAGE EXAMPLES: ### ##### Let's say you want to compile a file called test.cpp, then you can do this by running: ##### * Clang: - * 32 bit: `o32-clang test.cpp -O3 -o test` OR `i386-apple-darwinXX-clang test.cpp -O3 -o test` - * 64 bit: `o64-clang test.cpp -O3 -o test` OR `x86_64-apple-darwinXX-clang test.cpp -O3 -o test` + * 32 bit: `o32-clang++ test.cpp -O3 -o test` OR `i386-apple-darwinXX-clang++ test.cpp -O3 -o test` + * 64 bit: `o64-clang++ test.cpp -O3 -o test` OR `x86_64-apple-darwinXX-clang++ test.cpp -O3 -o test` * GCC: - * 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` + * 32 bit: `o32-g++ test.cpp -O3 -o test` OR `i386-apple-darwinXX-g++ test.cpp -O3 -o test` + * 64 bit: `o64-g++ test.cpp -O3 -o test` OR `x86_64-apple-darwinXX-g++ test.cpp -O3 -o test` 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. -*I'll continue from now on with `o32-clang`, but remember you can simply replace it with `o32-gcc` or `i386-apple-darwin...`* +*I'll continue from now on with `o32-clang`, but remember you can simply replace it with `o32-gcc` or `i386-apple-darwin...`.* ##### Building Makefile based projects: #####