From 34a0ef5d80683197f8d2e9ff8d1640496ce9e9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Wed, 13 Nov 2013 20:52:07 +0100 Subject: [PATCH] Update README.md --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 16cdd7d..88b06e8 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ### WHAT IS THE GOAL OF OSXCROSS? ### -The goal of OSXCross is to deliever you a high quality cross toolchain targeting OS X on Linux. +The goal of OSXCross is to deliver you a high quality cross toolchain targeting OS X on Linux. ### HOW DOES IT WORK? ### @@ -91,12 +91,9 @@ You can use the shorting `o32-...` or `i386-apple-darwin...` what ever you like ##### Building a universal binary: ##### -clang: - - `o64-clang++ test.cpp -O3 -arch i386 -arch x86_64 -o test` - -GCC: - +* clang: + * `o64-clang++ test.cpp -O3 -arch i386 -arch x86_64 -o test` +* GCC: * build the 32 bit binary: `o32-g++ test.cpp -O3 -o test.i386` * build the 64 bit binary: `o64-g++ test.cpp -O3 -o test.x86_64` * use lipo to generate the universal binary: `x86_64-apple darwinXX-lipo -create test.i386 test.x86_64 -output test`