TIP: Click on subject to list as thread! ANSI
echo: apple
to: comp.sys.apple2
from: John B. Matthews
date: 2008-07-05 13:45:48
subject: Re: cc65 compile for Apple 2e?

In article 
,
 Harry Potter  wrote:

> Uh, how do I use cc65 to compile an Apple 2 DOS 3.3 or ProDOS
> program?  I have atools for Win32.

I don't have either. I'm using GNU make and AppleCommander on Mac OS X. 
To compile  samples/hello.c, for example:

HELLO=hello

${HELLO}: ${HELLO}.c
    cl65 -O -l -t apple2enh ${HELLO}.c
    ac -d p1.po ${HELLO}
    ac -cc65 p1.po ${HELLO} bin < ${HELLO}

Here's a page that discusses atools, although it may change:

http://www.cc65.org/doc/intro-6.html#ss6.1>

AppleCommander is an alternative to atools:

http://applecommander.sourceforge.net/>

In addition to a nice GUI, it works from the command line with cc65 and 
other cross-development tools:

http://applecommander.sourceforge.net/acguide.html>

-- 
John B. Matthews
trashgod at gmail dot com
home dot woh dot rr dot com slash jbmatthews
--- SBBSecho 2.12-Win32
* Origin: Derby City BBS - Louisville, KY - derbycitybbs.com (1:2320/100)
SEEN-BY: 10/1 3 34/999 106/1 120/228 123/500 140/1 222/2 226/0 236/150 249/303
SEEN-BY: 250/306 261/20 38 100 1404 1406 1410 1418 266/1413 280/1027 320/119
SEEN-BY: 393/11 396/45 633/260 267 712/848 800/432 801/161 189 2222/700
SEEN-BY: 2320/100 105 200 2905/0
@PATH: 2320/100 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.