CE-Programming / toolchain

Toolchain and libraries for C/C++ programming on the TI-84+ CE calculator series
https://ce-programming.github.io/toolchain/index.html
GNU Lesser General Public License v3.0
528 stars 53 forks source link

make: cedev-config: No such file or directory (Debian/Raspbian compiling) #497

Closed jvan1234 closed 1 month ago

jvan1234 commented 2 months ago

OS INFORMATION: Raspberry Pi 4 Model B Rev 1.4 Debian GNU/Linux 12 (bookworm) aarch64

When attempting to compile the hello_world example, I get this error when attempting to compile

make: cedev-config: No such file or directory
make: * * * No targets. Stop

I did, in fact, extend my path var to the CEdev/bin files

...
export PATH=(home directory)/CEdev/bin:$PATH

and when I run ls in ~/CEdev/bin, this is what I get

cedev-config
convbin
convimg
ez80-link
cemu-autotester
convfont
ez80-clang
fasmg

I'm at a lost. Does anyone have ideas of what I could do?

adriweb commented 2 months ago

Did you re-start your terminal after having modified your shell configuration file (for the PATH modification)? (You can also just source that file again from within an existing terminal)

jvan1234 commented 2 months ago

I did. I also reset my computer and sourced it. It still doesn't work, giving the same result Error:

make: cedev-config: No such file or directory
make: * * * No targets. Stop.

I know that file exists (I checked). Do I need to move it somewhere else (NOTE: This is not on the root level, could this effect anything)

adriweb commented 2 months ago

Well that's weird... Does cedev-config --makefile work? And with the full path?

By the way did you build the toolchain yourself? Because we don't provide aarch64 binaries, so you'd have to get everything built on your own (including/especially the compiler).

mateoconlechuga commented 2 months ago

What is the exact line in your .bashrc? Are you sure it correct?

Also yes, the toolchain releases are not supplied for ARM so you will need to build the toolchain yourself currently.

jvan1234 commented 2 months ago

Oh, I didn't know ARM wasn't supported. I thought it was a universal package. I'll check the build instructions

Anyway, I wrote on line #115 on the .bashrc from my home directory, which is also near the end.

adriweb commented 2 months ago

Well you still haven't given us the actual full line, or answered my questions above :P But yeah try building the toolchain first and see what happens once that's done.

jvan1234 commented 2 months ago

Building the toolchain now, just wanted to update! adriweb, the makefile command gives me this error: bash: ./cedev-config: cannot execute binary file: Exec format error Also, here's the full line in my .bashrc export PATH=/(username)/home/CEdev/bin:$PATH (username) represents my username on the computer.

adriweb commented 2 months ago

Well the PATH export is wrong? /(username)/home/... It should be /home/(username)/... it's just a normal path to the folder.

And regarding the binary error, yes, that's normal since it's not built for your architecture.