Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Development on OS X (http://www.chiefdelphi.com/forums/showthread.php?t=52795)

Astronouth7303 11-02-2007 00:52

Re: Development on OS X
 
Quote:

Originally Posted by AustinSchuh (Post 575870)
Where is a sample makefile for a non-managed build? I am getting errors with my current one. The robot will sometimes boot up with a red light for the program state, but will work fine after a reset. I am using Debian and Wine.

Someone wrote a makefile generator using python. Search for it.

Ben Englert 11-02-2007 02:28

Re: Development on OS X
 
Yeah, I always thought it was a bit of a copout - IFI, claiming to support technical innovation and a variety of designs etc etc choosing the Microchip controller series, programmable only by a proprietary compiler that's limited to Windows, when there are alternatives like the Atmel ARM ones floating around that can be targeted by gcc on any platform.

Of course, now they get away with it, because Parallels/Boot Camp/WINE works on the x86 Macs.

neutrino15 19-02-2007 00:20

Re: Development on OS X
 
I do not necessarily think that they can "get away" with anything. Unless FIRST wants to go around and supply teams with copies of Windows and a shiny new MacIntel, Parallels may not be an option for all.

On another note, I have always been a mac person (since 0s6), and have found that there are 4 approaches to this problem:

1. Buy an intel mac (seriously, thats what I did) and run WINE (or parallels)
2. Use DARWINE PPC. (It will probably be slow, however)
3. Buy a windows machine. (used, ebay, cheap)
4. Use an x86 machine at your school (and write the code on your mac)

Even though I do own a macintel, I usually just use option #4. Most of our code is based on the school machines anyway, so whatever I write at home, I just either bring in on a pen drive or upload it to an SVN repo. (or ftp server)


I hope this helps! If you have any more Mac questions... Well.... you can ask me :D

-Jordan

neutrino15 05-03-2008 02:02

Re: Development on OS X
 
I downloaded the shtylman plugin for eclipse on my mac. It installed fine, and even allows me to create new projects with the mcc18 toolchain.. The odd thing is that no matter what code I write, it returns no errors and no hex file upon build.

Code:

make all
Building file: ../main.c
Invoking: C18 Compiler
wine mcc18 -D_FRC_BOARD -Oi- -Om+ -On+ -Ou+ -Os+ -Ot+ -Ob+ -Od+ -Opa+ -pa=4 -Op+ -Or+ -Oa- -Ow+ -p=18F8722 -ms -w=2 -fo="main.o" "../main.c"
/bin/sh: /bin/wine: Permission denied
make: *** [main.o] Error 126

Yet when I run wine from terminal, it executes flawlessly.

Can someone point me to a linux guide for installing MCC18 under wine, and getting it to work with Eclipse? In a perfect world, another guide that could also show me how to get eclipse to load code and listen to the serial port after load!


Thanks

Binome 05-03-2008 10:32

Re: Development on OS X
 
You could always set up mcc18 on a windows box, and connect via VNC and do things that way.

neutrino15 05-03-2008 10:42

Re: Development on OS X
 
Quote:

Originally Posted by Binome (Post 713049)
You could always set up mcc18 on a windows box, and connect via VNC and do things that way.

Well, that kinda defeats the purpose of using a mac anyway.

outpaddling 14-04-2008 18:38

Re: Development on OS X
 
You may want to look into SDCC. It has pretty good support for recent PIC controllers since v2.7, and runs on just about any platform.

I've been trying to work out how to program the VEX with it, and I think we're pretty close. Everything I know so far is posted on my WEB site:

http://personalpages.tds.net/~jwbacon/Ports/vex.html

Jason

neutrino15 19-04-2008 02:33

Re: Development on OS X
 
Now, Let's try and get the cRIO loading+debugging on the mac! I am sure it won't be too hard.. Especially if we can get Workbench to run under OSX (it runs under Linux and Solaris already)..

-Jordan


All times are GMT -5. The time now is 23:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi