Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #342
| From | D Finnigan <dog_cow@macgui.com> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | How-To: Use the cc65 compiler on Mac OS X for Apple II |
| Date | 2012-08-06 20:15 +0000 |
| Organization | Mac GUI |
| Message-ID | <dog_cow-1344284156@macgui.com> (permalink) |
Learn how to compile and execute a C program on the Apple II using Mac OS X and cc65. Today we are going to learn how to compile a C program that will run under ProDOS 8 on the Apple II using Mac OS X and cc65. Since we will be programming on a Mac with a target of the Apple II, we are performing what is known as cross-development. I will assume that you already know how to program in C. By extension, if you know C, then you probably are also familiar with the Terminal and the Unix shell. Secondly, I assume that you are using either the Virtual ][ or Sweet16 emulators to test your programs. Setting Up The Development Environment Before you can start, you will need to download and configure several free software programs: - XCode (Mac OS X Developer Tools) - AppleCommander (A disk image tool in Java) - cc65 (The 6502 C compiler) Read the full, step-by-step article at Mac GUI: http://macgui.com/kb/article/761 -- ]DF$ Apple II Book: http://macgui.com/newa2guide/ Mac GUI Vault: http://macgui.com/vault/ Usenet Archive: http://macgui.com/usenet/
Back to comp.sys.apple2.programmer | Previous | Next — Next in thread | Find similar
How-To: Use the cc65 compiler on Mac OS X for Apple II D Finnigan <dog_cow@macgui.com> - 2012-08-06 20:15 +0000 Re: How-To: Use the cc65 compiler on Mac OS X for Apple II aiiadict@gmail.com - 2012-08-06 15:38 -0700 Re: How-To: Use the cc65 compiler on Mac OS X for Apple II Egan Ford <datajerk@gmail.com> - 2012-08-07 07:56 -0600
csiph-web