Package Details: cc65 2.17-2

Git Clone URL: https://aur.archlinux.org/cc65.git (read-only)
Package Base: cc65
Description: C compiler for 6502 family microprocessors
Upstream URL: https://cc65.github.io/cc65/
Licenses: BSD
Submitter: None
Maintainer: chungy
Last Packager: chungy
Votes: 6
Popularity: 0.000014
First Submitted: 2006-02-23 09:16
Last Updated: 2019-03-24 21:06

Dependencies (0)

Required by (2)

Sources (1)

Latest Comments

1 2 Next › Last »

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: https://github.com/cc65/cc65/issues/316#issuecomment-269258948

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

So, by changing line 17 in the PKGBUILD from:

make

To:

make PREFIX=/usr

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

optlink commented on 2018-06-13 18:55

I had to modify cc65.sh 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 https://www.archlinux.org/packages/community/any/grc/

Dennis commented on 2014-11-23 21:52

@vah
build worked for me from this: https://aur.archlinux.org/packages/cc/cc65/cc65.tar.gz

extracted to:
/var/aur/local/cc65/

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

@youarefunny
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

kevincox commented on 2012-05-16 01:14

All you need to do is bump the version to 2.13.3. The new MD5 becomes 99de534c4a9e04b45a82c239ed4ded20 and you also need to change the name of the patch.

I have a new package available at http://www.mediafire.com/file/b99q7tf13q1rtcn/cc65.tar.gz.