Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2.programmer Subject: GCC for 6502 Date: Mon, 1 Aug 2016 22:45:32 -0000 (UTC) Organization: Mac GUI Lines: 30 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 1 Aug 2016 22:45:32 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="ac9e0e4d7dd3957fb97803ee6801bab8"; logging-data="11251"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+u8hvj1e+LVk+3ayOHHZ4P" User-Agent: Mac GUI Usenet Cancel-Lock: sha1:aTFIiw/ihzHXJOuSAheMaF9mgFc= Xref: csiph.com comp.sys.apple2.programmer:2860 I found a discussion on 6502.org relative to a version of the GCC for 6502 systems. It's Build tools, tiny C library, etc. for gcc-6502 port. Prerequisites You need to install cc65 in /usr (so ca65, ld65 and so on are present in /usr/bin/ca65 etc.) before building. On a Debian system you should also have all the prerequisites for building GCC installed. Work in progress This is a work-in-progress compiler, and many bugs remain. You can build code for semi65x (the included simulator), and limited support also exists for Acorn BBC Model B or Master computers (you may see some references to the C64, but that's not properly implemented yet). Adding support for other systems shouldn't be too hard - contact me if you'd like to try that! Last activity was about 3 weeks ago. Links: https://github.com/puppeh/gcc-6502 https://github.com/puppeh/gcc-6502-bits -- ]DF$ The Marina IP stack for Apple II-- http://marina.a2hq.com/