MPLAB X using C18 Compiler in Linux
I'm relatively new to PIC, but I thought I'd share a minor success. I was trying to get the applib USB demos to compile so I could write some applications to talk to the PIC via USB on my Ubuntu Linux host, and eventually an Android host. The USB stack and examples seem to be all written for the C18 compiler rather than the XC8 compiler.
I'd done some googling but had very little luck. One suggestion recommended running MPLAB (not X) in WINE on a Linux host. After running into some challenges there, I decided to run MPLABX natively in Linux, but configure the toolchain to call mcc18.exe via Wine. After some tinkering, it works GREAT. I was able to compile the demos and download to my p18f4550 via PickIt3.
Hope this helps someone else in the same boat!