View Single Post
  #52   Spotlight this post!  
Unread 15-03-2008, 09:22
sea_master's Avatar
sea_master sea_master is offline
Registered User
AKA: the $@#$@#$@#$@#$@#$@# guy
FRC #1947 (the black knights)
Team Role: Driver
 
Join Date: Feb 2006
Rookie Year: 2006
Location: israel
Posts: 27
sea_master is on a distinguished road
Send a message via ICQ to sea_master Send a message via MSN to sea_master
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!
__________________
phase 1: collect underpants
phase 2:???
phase 3: profit!

Last edited by sea_master : 15-03-2008 at 18:30.