Package Details: cc65 2.18-1

Git Clone URL: (read-only, click to copy)
Package Base: cc65
Description: C compiler for 6502 family microprocessors
Upstream URL:
Licenses: BSD
Submitter: None
Maintainer: chungy
Last Packager: chungy
Votes: 10
Popularity: 0.036729
First Submitted: 2006-02-23 09:16
Last Updated: 2019-06-21 19:45

Dependencies (0)

Required by (7)

Sources (1)

Latest Comments

1 2 Next › Last »

arch_jeff commented on 2020-03-18 21:04

Whenever I attempt to build cc65 the first build attempt always fails. Additional attempts after the first always succeed, I think. I'm not sure why this is. No edits are made to the PKGBUILD.

To reproduce this, you may need to spin up a fresh install of Arch in a VM. Just trizen -S cc65 (or whatever AUR helper you use yourself) and you'll see what I'm talking about.

jeremyvisser commented on 2019-03-25 03:56

Yay, the path bug has been fixed! Thanks!

jeremyvisser commented on 2019-02-25 07:30

There's a bug in this PKGBUILD which has actually been around for nearly three years, mentioned here:

The TL;DR is that PREFIX=/usr needs to be set for "make", not just "make install", and this makes the /etc/profile.d/ completely unnecessary.

So, by changing line 17 in the PKGBUILD from:



make PREFIX=/usr

And removing the file, that will make includes much more reliable.

optlink commented on 2018-06-13 18:55

I had to modify to export the path /usr/share/cc65 instead of /usr/lib/cc65 in order to get the compiler to find include files.

lutoma commented on 2017-09-10 03:24

Thanks for the speedy reply (and for maintaining the PKGBUILD!), the update seems to indeed have fixed the issue.

I originally tried using the cc65-git package, but compiling it failed because the prefix wasn't set somewhere. Didn't really have time to debug then. But I see you've also pushed a new version of that package, so I'll try building that one again too :)

Edit: Yup, cc65-git works like a charm now too, so I've switched to the git version now

chungy commented on 2017-09-09 19:04

Thanks. This AUR is quite outdated, I was having cc65-git installed for a long time now, but I see that new releases have finally(!) happened. Simply updating might resolve the issue, I'll see :-)

lutoma commented on 2017-09-09 17:04

The '/usr/bin/grc' binary in this AUR conflicts with

Dennis commented on 2014-11-23 21:52

build worked for me from this:

extracted to:

then ran:
makepkg -s
in there.

vah commented on 2014-11-23 05:32

I get this when trying to build:
PKGBUILD: line 21: ../../patch-2.13.3.diff: No such file or directory

After a successful md5sum check. I guess it may work depending on how the paths are configured in makepkg.conf but I suggest changing it to "$srcdir/patch-$pkgver.diff".

salviati commented on 2012-05-17 07:19

Your PKGBUILD doesn't work either; makepkg -s fails because of this:

make[3]: Entering directory `/home/guest/cc65/src/cc65-2.13.3/libsrc/apple2'
make[3]: ../../src/cc65/cc65: Command not found
make[3]: *** [closedir.o] Error 127