|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Development on OS X
There's always Virtual PC. It's kind of slow though...
|
|
#2
|
||||
|
||||
|
Re: Development on OS X
way to slow
|
|
#3
|
|||
|
|||
|
Re: Development on OS X
Someone should port GCC to work with PICF18's. That'd be super cool.
*Not it....* |
|
#4
|
|||
|
|||
|
Re: Development on OS X
Ugh, OS X
Nothing against Apple users, the Macintosh OS, etc. but OS X SUCKS FOR PROGRAMMING! Linux is the best way to go for any operating system, the best compilers, etc. However, for our application, Microsoft Windows is the way to go. Obviously this isnt the first time you've heard "Why are you programming on a mac, you idiot?" but just go out and buy a PC!, its the easiest, safest way to go. through my experiance with OS X, its not that much better than Windows XP (stability wise XP is just as good), and I find vista to be the best match of all. Start saving! -Chuck |
|
#5
|
|||||
|
|||||
|
Re: Development on OS X
Quote:
For our purposes, the only real missing piece on a Macintosh is MicroChip's C18 compiler. It's also missing on Linux systems. No clear winner there. |
|
#6
|
|||
|
|||
|
Re: Development on OS X
I would recommend Darwine, but thats only a viable option for Intel Macs. For your purposes, I think Virtual PC running a stripped down version of Windows 2000 is the only way you can compile.
|
|
#7
|
||||
|
||||
|
Re: Development on OS X
I think there was some way to do it in eclipse using the eclipse C compiler... at least that's what my instructor told me.
I'm running Gentoo Linux and PCLinuxOS on my computers and I can't aford - and don't want - Windows on my computer. If mcc18 will run in WINE I'll see about installing it tomorrow. |
|
#8
|
|||
|
|||
|
Re: Development on OS X
I currently use wine under Debian to program my team's robot. I searched around on Chief Delphi a couple years ago, and found instructions put out by John Dong on how to set it up. He provides many useful hints and scripts. He even has a linux downloader that you can use.
Good luck, and I hope you succeed. |
|
#9
|
|||||
|
|||||
|
Re: Development on OS X
Eclipse will run MCC18, with help of the CDT. If you use a makefile, stock will do. FIRSTclipse provides plugins for managed make. The error parser won't work on non-windows, though, since it doesn't do any path translation.
Running MCC18, though, is slightly more challenging. (Disclaimer: I don't own a mac, so this is gathered.) He's the scenarios I've found from reading:
A more pressing problem with Mac may be the lack of RS-232. OS X can handle USB-Serial adaptors, IIRC. Classic Mac might have problems, since Apple used its own spec which is not pin-compatible with RS-232. |
|
#10
|
|||
|
|||
|
Re: Development on OS X
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.
|
|
#11
|
|||||
|
|||||
|
Re: Development on OS X
Someone wrote a makefile generator using python. Search for it.
|
|
#12
|
|||
|
|||
|
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. |
|
#13
|
||||
|
||||
|
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 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 Last edited by neutrino15 : 05-03-2008 at 02:04. |
|
#14
|
||||
|
||||
|
Re: Development on OS X
You could always set up mcc18 on a windows box, and connect via VNC and do things that way.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Eclipse Development | Astronouth7303 | Programming | 39 | 16-12-2007 02:52 |
| Development | daramana | Inventor | 1 | 03-03-2005 08:07 |
| Software Development Process? | tcj103 | Programming | 5 | 08-02-2005 15:46 |
| Website development | tchescow | Website Design/Showcase | 3 | 31-12-2004 17:13 |
| Development Program | xxlshortys | Team Organization | 1 | 14-03-2004 12:33 |