View Single Post
  #10   Spotlight this post!  
Unread 14-01-2006, 08:12
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: I want a version of the mplab compiler for Linux.

I believe I have the new compiler working... (I have yet to test the generated hex file, but I have no reason to believe it to be in error. However, you've been warned. )
  1. Install mcc18 compiler to /opt/mcc18.
  2. Do step 1 of jdong's post. (above)
  3. Download the configure.py attached to this post. (I only changed the processor passed to MCC18. May not even be necessary, but just in case...)
  4. Do step 3 of jdong's post.
  5. Edit /opt/mcc18/h/p18cxxx.h and put
    Code:
    #undef __18F8722
    #define __18F8722
    starting right after #define _P18CXXX_H

This fix/hack makes compiling for multiple processors difficult (have to change /opt/mcc18/h/p18cxxx.h), but hey... if you're working on FIRST, you're using a certain processor anyways.
Attached Files
File Type: tgz configure.py.tgz (2.7 KB, 165 views)
__________________