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)

Validius 26-01-2007 09:32

Development on OS X
 
Is there any way i can get the MCC18 compiler to run on OSX? Are tere any other compilers thatwill work instead that i can run on OSX?

JohnC 26-01-2007 09:52

Re: Development on OS X
 
Quote:

Originally Posted by Validius (Post 565635)
Is there any way i can get the MCC18 compiler to run on OSX? Are tere any other compilers thatwill work instead that i can run on OSX?

This has been addressed many times...You can develop on OS X using Eclipse, but the compiler only works on windows. Equivalent ones don't play nice with the IFI libraries, from what I read.

Dave Lavery wasn't kidding; use Parallels if you must develop on a Mac.

Validius 26-01-2007 10:04

Re: Development on OS X
 
Quote:

Originally Posted by JohnC (Post 565641)
Dave Lavery wasn't kidding; use Parallels if you must develop on a Mac.

PowerBook :-/

shtylman 26-01-2007 10:45

Re: Development on OS X
 
mcc18 will work in wine

Validius 26-01-2007 11:07

Re: Development on OS X
 
Quote:

Originally Posted by shtylman (Post 565677)
mcc18 will work in wine

I have a PowerBook tho so it wownt run Wine :(

Michael DiRamio 26-01-2007 17:22

Re: Development on OS X
 
Quote:

Originally Posted by Validius (Post 565647)
PowerBook :-/

There's always Virtual PC. It's kind of slow though...

Validius 30-01-2007 11:31

Re: Development on OS X
 
Quote:

Originally Posted by Michael DiRamio (Post 565875)
There's always Virtual PC. It's kind of slow though...

way to slow

Tom Bottiglieri 30-01-2007 11:32

Re: Development on OS X
 
Someone should port GCC to work with PICF18's. That'd be super cool.:)

*Not it....*

Chuck_Norris 05-02-2007 12:30

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

Alan Anderson 05-02-2007 13:32

Re: Development on OS X
 
Quote:

Originally Posted by Chuck_Norris (Post 572279)
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.

It might be instructive for you to look a little deeper at Mac OS X before dismissing it so strongly. It's built on a BSD Unix foundation, and supports exactly the same compilers, tools, OS calls, etc. as Linux does.

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.

114Klutz 06-02-2007 18:11

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.

sonicbhoc 10-02-2007 21:38

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.

AustinSchuh 10-02-2007 23:42

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.

Astronouth7303 11-02-2007 00:30

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:
  • PPC: Good luck. No native/inline emulators seem to be available.
  • Mac OS X86: It's BSD Unix. Use wine (or some variant) and follow the Linux instructions
  • Bootcamp: Load windows, handle everything normally.

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.

AustinSchuh 11-02-2007 00:39

Re: Development on OS X
 
Quote:

Originally Posted by Astronouth7303 (Post 575867)
If you use a makefile, stock will do.

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.


All times are GMT -5. The time now is 03:56.

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