![]() |
Re: I want a version of the mplab compiler for Linux.
Quote:
|
Re: I want a version of the mplab compiler for Linux.
Quote:
Simply put, you are missing a compile flag (-D__18F8722). |
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 |
Re: I want a version of the mplab compiler for Linux.
Nvm guys I reinstalled mcc18 and everything worked! But thx for the help
|
Re: I want a version of the mplab compiler for Linux.
Quote:
|
Re: I want a version of the mplab compiler for Linux.
Umm not really sure it's an older version (At least 2004).
|
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! |
Re: I want a version of the mplab compiler for Linux.
You don't have to create your own makefile. You can just use this little python program that creates one for you based on the files in your code directory.
|
| All times are GMT -5. The time now is 18:07. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi