![]() |
Re: I want a version of the mplab compiler for Linux.
Bump.
Quote:
|
Re: I want a version of the mplab compiler for Linux.
1 Attachment(s)
Quote:
Nevermind. I managed to fix it. Working configure.py attached. Do the above stuff (part 2 was excluded) to get it working. I made it compatible with both RCs, and also made it `make clean` when you run the configure. That can be disabled if you have a slow computer. Set CLEAN near the top to False. Run ./configure.py old to make it build for the old rc. Run ./configure.py alltimers to use FRC_alltimers.lib. You can mix both for the expected effect. I can't test upload till morning though. |
Re: I want a version of the mplab compiler for Linux.
This link is dead:
http://adambots.gotdns.com/adambots-...o/configure.py But I found this one... http://adambots.gotdns.com/adambots-...k/configure.py Ahh.. never mind. I see now that you posted a link to the updated version. |
Re: I want a version of the mplab compiler for Linux.
I was getting an error while linking ...
Error - could not find definition of symbol 'Serial_Char_Callback' in file './user_SerialDrv.o'. But I figured out that the function had been deleted from user_routines_fast.c It is compiling and linking just fine now. |
Re: Wine version
We found that mcc18 doesn't work with recent versions of wine. One of the changes made between 0.9.18 and 0.9.19 seems to be the culprit. So you may want to stay with 0.9.18 or older.
|
Re: I want a version of the mplab compiler for Linux.
Does 0.9.23 work well? Or does that one also have similar problems?
|
Re: I want a version of the mplab compiler for Linux.
Quote:
|
Re: I want a version of the mplab compiler for Linux.
Things hosted on adambotslive are gone.
|
Re: I want a version of the mplab compiler for Linux.
We have a makefile that originally was made by that script and has been heavily modified. Grab it here: http://www.chsrobotics.com/files/Makefile
It should be fairly self-explanatory. |
Re: I want a version of the mplab compiler for Linux.
We have moved all of hour hosting. You can find everything (with Bazaar) at...
http://adambots.gotdns.com/bzr/mcc-wrapper/ Thank you all and keep on trucking. |
Re: I want a version of the mplab compiler for Linux.
I got configure.py and mcc-wrapper from adambots' bzr server. I copied mcc18 from our team's programming laptop, and put it into /opt/mcc18. I made symbolic links according to the suggestion earlier in this thread. I edited /opt/mcc18/h/p18cxxx.h. I ran configure.py, and when I run make, I get this error:
[code][Compiling ifi_utilities.o... 1. Checking Dependencies for ifi_utilities.o 2. Launching Compiler... A thought to keep you occupied: /bin/sh: /usr/games/fortune: No such file or directory Fortune not found. Microchip MCC C18 Compiler Version 0.0+SVN20050725 DEBUG:Using wine /opt/mcc18//bin/mcc18-traditional -p=18F8520 -fo ifi_utilities.o ifi_utilities.c /i"Z:\opt\mcc18\h" -D_FRC_BOARD -w3 pa=3 -O+ -nw=2066 -mL to launch MCC18 fixme:msvcrt:_spawnve only trying .exe when no extension given Z:\home\meatmanek\techhounds\svn\test\ifi_utilitie s.c:0:Error: syntax error Traceback (most recent call last): File "/usr/local/bin/mcc18", line 49, in ? raise Exception,"Compile FAILED" Exception: Compile FAILED make: *** [ifi_utilities.o] Error 1 /CODE] |
Re: I want a version of the mplab compiler for Linux.
Figured out my previous problem. Wine 0.9.22 has problems, so I updated to 0.9.29. Now I get a new error:
Code:
Compiling ifi_utilities.o...OpenADC( ADC_FOSC_RC & ADC_RIGHT_JUST & ADC_0_TAD, ADC_channel & ADC_INT_OFF & ADC_VREFPLUS_VDD & ADC_VREFMINUS_VSS,15); |
Re: I want a version of the mplab compiler for Linux.
Even by workaround standards, wine is a bad solution.
What are possibilities for a native linux port of only the C18 compiler? Perhaps there are volunteers who are willing to help. |
Re: I want a version of the mplab compiler for Linux.
Quote:
Why? We have no source. Unless someone wants to convince Microchip that there is a legitimate market for a linux compiler. |
Re: I want a version of the mplab compiler for Linux.
If we're lucky, SDCC will get support for pic18 soon.
I don't see anything wrong with using wine, though. This is exactly what it's meant for - running windows programs on linux. |
| 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