|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#46
|
|||||
|
|||||
|
Re: I want a version of the mplab compiler for Linux.
Quote:
![]() |
|
#47
|
|||||
|
|||||
|
Re: I want a version of the mplab compiler for Linux.
The error you are getting means the type of PIC hasn't been defined, so the ifi_utilities.c file can pick the proper system defines that match what the PIC has built into it.
Simply put, you are missing a compile flag (-D__18F8722). Last edited by Mark McLeod : 25-12-2007 at 14:34. |
|
#48
|
|||
|
|||
|
Re: I want a version of the mplab compiler for Linux.
Could you try the makefile that I wrote? I have been using it for almost 3 years now with no problems.
http://team997.org/files/software/Makefile |
|
#49
|
|||||
|
|||||
|
Re: I want a version of the mplab compiler for Linux.
Nvm guys I reinstalled mcc18 and everything worked! But thx for the help
Last edited by HighLife : 24-12-2007 at 18:29. |
|
#50
|
|||||
|
|||||
|
Re: I want a version of the mplab compiler for Linux.
What version of mcc18 are you using? It looks like it might be the latest version 3.x when it should be v2.4.
|
|
#51
|
|||||
|
|||||
|
Re: I want a version of the mplab compiler for Linux.
Umm not really sure it's an older version (At least 2004).
|
|
#52
|
||||
|
||||
|
Re: I want a version of the mplab compiler for Linux.
Hi.
I'm trying to compile some new code on a Xubuntu Linux machine. I've modified the relatively newer makefile in: http://team997.org/files/software/Makefile I've modified it according to my needs and it all seemed to work well, until I tried to remove the intermediate files . when it tries to complie the source files, it can't get the headers from the include dir of mcc even tough the path seems right. I've checked and the syntax used by the Makefile is /i <path> while mmc18.exe expects -I="<path>". I tried to change the makefile anyway I thought might work, but could not get it to work, so I gave up and I've made a script shell, and it works, but since I'm unfamiliar with the tricks of Linux shell, it's butt ugly (with lot's of lines like this: wine c:/mcc18/bin/mcc18.exe -p=18f8722 -I="c:\mcc18\h" "ifi_frc.c" -fo="ifi_frc.o" -k -mL -Ou- -Ot- -Op- -Or--Od- -Opa-) So please Chief Delphi! pimp my script! Last edited by sea_master : 15-03-2008 at 18:30. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MPLAB C18 problem | Justyn | Programming | 0 | 09-03-2005 11:37 |
| IMPORTANT regarding the new C Compiler | dlavery | General Forum | 12 | 14-01-2005 05:05 |
| Makefile and stripped down compiler | Venkatesh | Programming | 0 | 09-01-2005 18:55 |
| MPLAB IDE 6.60 Error | mchan1111 | Programming | 8 | 08-11-2004 20:17 |
| using the MPLAB IDE MPLAB SIM simulator | WizardOfAz | Programming | 1 | 03-11-2003 01:24 |