Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #342

How-To: Use the cc65 compiler on Mac OS X for Apple II

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!macgui.com!dog_cow
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 Mon, 6 Aug 2012 20:15:57 +0000 (UTC)
Organization Mac GUI
Lines 32
Message-ID <dog_cow-1344284156@macgui.com> (permalink)
NNTP-Posting-Host gunshin.wiredns.net
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace technocratmedia-w1.news.bbs-scene.org 1344284157 25287 74.119.145.48 (6 Aug 2012 20:15:57 GMT)
X-Complaints-To abuse@bbs-scene.org
NNTP-Posting-Date Mon, 6 Aug 2012 20:15:57 +0000 (UTC)
Summary Learn how to compile and execute a C program on the Apple II using Mac OS X and cc65.
User-Agent Mac GUI City Usenet Posting
Xref csiph.com comp.sys.apple2.programmer:342

Show key headers only | View raw


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 | NextNext in thread | Find similar


Thread

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