Jump to content
IGNORED

Installing CC65 on OSX Yosemite


Recommended Posts

I have downloaded the latest repository and complied them, but cannot install the cc65 programs in the /usr/local tree of my system using the command: sudo make -f make/gcc.mak install

 

Now I did not compile with make -f make/gcc.mak, just issued the make command in the cc65 directory I downloaded - and it all seemed to unpack just fine - although I admit I cannot test that correctness :?

 

What am I doing wrong?

 

sTeVE

 

P.S. I have the latest XCODE and command line tools installed..

Edited by Jetboot Jack
Link to comment
Share on other sites

I had a similar problem building cc65 on a clean install of Mavericks, but it worked on an upgrade from Snow Leopard. In the end I noticed that /usr/local/bin was missing despite being referenced in the path. I created the directory using "sudo mkdir /usr/local/bin" and the build/install then worked.

 

I also noticed that the HTML documentation did not build because of a missing package. So I just extracted the HTML documentation from the prebuilt Windows package.

 

Jeremy

Link to comment
Share on other sites

I have a valid usr/bin, and MAKE is in there - but if I issue the command line that cc65 suggests:

 

make -f make/gcc.mak install

 

I just get:

 

make: make/gcc.mak: No such file or directory

make: *** No rule to make target `make/gcc.mak'. Stop.

Now I interpret that as I have not got the right executable tool or paths somehow??

sTeVE - new to CC65!

Edited by Jetboot Jack
Link to comment
Share on other sites

I don't have access to my Mac right now, but from memory the process I used was more or less what is in the documentation, as follows:

 

Extract the downloaded archive to a directory.

Change to that directory, then issue commands below

make
sudo mkdir /usr/local/bin (if /usr/local/bin does not already exist)
sudo make avail

I didn't have to specify the compiler to use, the make process just defaulted to gcc (I guess). The third command will just make symbolic links in /usr/local/bin, but will fail unless /usr/local/bin already exists, which it did not on my clean install of Mavericks.

 

Jeremy (used CC65 to prototype one project!)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...