
Originally Posted by
RossWaddell
It's an iMac with Mac Snow Leopard OS (10.6.2). I'm using Parallels Desktop to create the Windows XP virtual machine.
OHHhhh...
Well like I said, MCS and Linux do not get along and MACs are Unix based also... I think...
I do not know the file structure of a MAC but with Linux I make a *.bat file for each project and keep it in the projects directory. At compile time I run the BAT.
I also use GEDIT for writing code. Never got along with EMACS...
In Linux and WINE there is a "C" directory as in windows, PBP and MPASMWIN will live there.
Below is a BAT example. If errors are found a *.ER and a *.ERR file will be created in the projects directory. I name it "hex.bat".
The HEX will be there also.
Maybe something like this will work for you...
Code:
cd /media/16GBSTIC/PIC_PROG/16f887
wine c:/pbp/pbpw -e -s -ac:/Program\ Files/Microchip/MPASM\ Suite/MPASMWIN -p16f887 z:/media/16GBSTIC/PIC_PROG/16f887/887.bas
wine c:/Program\ Files/Microchip/MPASM\ Suite/mpasmwin /e /l 887.asm
Bookmarks