[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: install c65 on Mac OS X?
silverdr <silverdr@inet.remove.it.pl> wrote:
> Andy Dannelley wrote:
> > I have a 6502 system that I would like to write some code for. I ran
> > across the cc65 c compiler and it looks like just the ticket.
> >
> > I need help instaling cc65 on Mac OS X.
> >
> > I managed to compile it (cc65 2.10.1-1) and is seems to compile and link
> > OK, the library seems to compile OK, I can't seem to compile the sample
> > program "hello.c" but I think I must be missing something.
> >
>
> You might for example be missing the environment variables, which in my
> case look as follows:
>
> CC65_INC=/usr/local/lib/cc65/include
> CC65_LIB=/usr/local/lib/cc65/lib
>
> Other than that it is difficult to give any help if your only report is
> "I can't seem to compile the sample program "hello.c""
Thanks a bunch for the response, if is help[ful information.
The only reason I wrote that it would not compile the sample program was
to try to emphasize that it just would not compile anything, guess I
should explain more, looks like I'm guilty of not providnig enought
info,
Anyway, thanks for the reply, I'll bet what you suggest is it.
Since I posted I found that Fink has the 2.9.3 version of cc65 on the
unstable category and using FInk Commander I managed to complie and
install cc65 2.9.3 and get it to regularly compile several sample
programs.
Now I just need to discover how Fink compiles and installs the compiler
and libraries, so I can compile and install a later version.
Also, I need to find a reference as to what is needed in an include or
library file so I can use the AIM 65 as a target device. I plan to use
the AIM 65 as a test enviornment and develop a program for an SBC (using
the same address space as the AIM 65) for a dedicated controller device.
Thanks again, and any help much appreciated.
AndyD