Rockbox Development > Starting Development and Compiling

rockboxdev.sh woes

<< < (2/2)

boomselecta:
Thanks, I'll try that.

ed1:

--- Quote from: boomselecta on August 11, 2021, 01:45:33 PM ---hi all,

trying to get rockboxdev.sh working on a new Linux build (Debian 10)


using the patch to allow for newer versions of gcc, rockboxdev successfully completed..

But when I run tools/configure, I get the warning "WARNING:. Your cross-compiler arm-elf-eabi-gcc 4.4.4 is not of the recommended version 4.9.4!   This may cause your build to fail since it may be a version that isn't functional or known to not be the best choice.  If you suffer from build problems, you know that this is a likely source for them.." with telelatino pc.


And sure enough, when I run "make zip" it stops along the way saying "/bin/sh: 1: arm-elf-eabi-gcc-ar: not found".

Appreciate any help that could be thrown my way.   My next idea would be to install an old Linux build so it's more of the era of the last update of rockboxdev.sh but that's not super ideal

--- End quote ---

Hi

You must to execute script with sudo command is very import for to elevate permissions.

 Regards

bluebrother:

--- Quote from: ed1 on November 21, 2022, 11:46:30 AM ---You must to execute script with sudo command is very import for to elevate permissions.

--- End quote ---

That's not necessary. I'd even recommend against it, unless you want to install the toolchain system-wide.

rockboxdev.sh by default installs the toolchain to /usr/local, which is (usually) not writable by a user. Using sudo is the way to make that work, though I always pass --prefix= to point to a path where I can install. Furthermore, when building Rockbox the toolchain has to be in the PATH -- but that only requires you to modify PATH, and it's only necessary when running configure (thus, I usually run PATH=path/to/my/compiler/bin:$PATH ../tools/configure), then I can forget about it)


--- Quote from: boomselecta on August 11, 2021, 01:45:33 PM ---But when I run tools/configure, I get the warning "WARNING:. Your cross-compiler arm-elf-eabi-gcc 4.4.4 is not of the recommended version 4.9.4!   This may cause your build to fail since it may be a version that isn't functional or known to not be the best choice.  If you suffer from build problems, you know that this is a likely source for them.."

--- End quote ---

Sounds to me like you used an outdated version of rockboxdev.sh, which installed an outdated version of the toolchain. You might also have another toolchain installed from your distro that is picked up first.

I usually avoid this by (1) installing the toolchain in a custom path, and (2) putting it at the front of PATH when running configure.

Navigation

[0] Message Index

[*] Previous page

Go to full version