Now that cc65 is built and installed, you need to set your
PATH to include executables installed for the current user.
The
.bashrc file is a shell script that Bash runs when it starts. Among other things, it's used to set up the PATH, the list of folders where the shell looks for programs to run. By default, the shell doesn't include any folder in your home directory in this list, so you'll need to
add it.
Put this at the bottom:
Code: Select all
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
Translated into English: "If a folder called
.local/bin exists inside your home directory, add it to the PATH."
Then log out and back in, and make sure the change to the PATH took:
The
which command is a quick way to search the PATH without actually running anything.
I did take note as the CLI spit out file names during source compilation that among C files were a bunch of Assembler files.
These are in 6502 assembly language, not x86, x86-64, or ARM assembly language. They make up part of the standard library that gets included in the executable when you build a program written in C.