5 Again, cannot locate ARM GNU toolchain while trying to build the raspberry pi 4 64 bit sample code

Created at 2023-08-01 10:20:35

I downloaded https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-aarch64-none-elf.zip?rev=b9e2d7090d0240cca2dfa9a902666e4c&hash=AED4968D976D424304AF2B940E633A5C

I extracted the archive and copied the folder within to C:opt.

I then edited rtconfig.py in bspraspberry-piraspi-64 so that the EXEC_PATH was C:opttoolchainbin.

I then typed scons in the terminal window and it keeps complaining it cannot find aarch64-none-elf-gcc.

What did I forget?

更多

Follower
1
Views
256
1 Answer
DerrickLau
DerrickLau 2023-08-01

I fixed the above by moving my EXEC_PATH call to after the if EXEC_PATH statement. Now I get this:

C:DerrickGitHubrt-thread-master-vanillart-thread-mastercomponentslibccompilerscommonctime.c:700:10: fatal error: resource_id.h: No such file or directory
700 | #include <resource_id.h>

  |          ^~~~~~~~~~~~~~~

Write Your Answer

Log in to publish your answer,Click here to log in.

Create
Post

Share