Quick tutorial on how to install Wine and use it with CC5X to compile code in a Mac OSX environment. For CC8E it is required to replace CC5X with CC8E. ***** Thanks to Louis Harik for providing this setup. First you need to install Xcode (but it is enough to have Xcode command line tools). This is done using the App store. The second step si to install Homebrew, which is a package manager for open source programs for MAC OS X. For this, you need to start a terminal and launch the following command: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” After installing Homebrew, you might be asked to run brew doctor, so do it as follows in your terminal brew doctor If Homebrew asks you to agree on the Xcode license, you can do so with the following command: sudo xcodebuild -license Next step is to install Wine using Homebrew as follows: brew install wine Final installation step is to install the windows executable that you would like to run on MAC OS X using wine. For this run the following command wine $INSTALLER.exe for instance to install a program that has the file setup.exe as its installation program, you would run wine setup.exe for more details on installing wine check the following page: http://www.davidbaumgold.com/tutorials/wine-mac/ Note that installing Xcode itself is not obligatory, it is enough to have Xcode command line tools Now you are ready to run your programs through WINE on MAC OS X. For this you would need to do the following from a terminal window. cd ~/.wine/drive_c/Program\ Files/bknd/CC5X/ then you would launch your application using the command below, as an example is the CC5X application wine CC5X.EXE OUTPUT: CC5X Version 3.6, Copyright (c) B Knudsen Data, Norway 1992-2012, No. **** --> EXTENDED edition, 8-32 bit int, 16-32 bit float, 32k code Licensed to: XXXXXXXXXXXXX C compiler for the PICmicro family. Syntax: CC5X [options] [options] -a[] write assembly file -A[scHDpftumiJReokgbN+N+N] assembly file options