Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search




Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  arm-elf-eabi-cpp: error trying to exec 'cc1': execvp: file not found
« previous next »
  • Print
Pages: [1]

Author Topic: arm-elf-eabi-cpp: error trying to exec 'cc1': execvp: file not found  (Read 572 times)

Offline dgiglio

  • Member
  • *
  • Posts: 2
arm-elf-eabi-cpp: error trying to exec 'cc1': execvp: file not found
« on: July 23, 2017, 05:57:21 PM »
Hi,
I've followed the instructions for beginners:
- cloned the git repo
- compiled the toolchain via rockboxdev.sh

But when I try to create the Makefile into the build dir I get this error.
Any clue?
Thanks in advance.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8521
Re: arm-elf-eabi-cpp: error trying to exec 'cc1': execvp: file not found
« Reply #1 on: July 23, 2017, 10:10:35 PM »
Is  arm-elf-eabi-cpp on your path?
Logged

Offline dgiglio

  • Member
  • *
  • Posts: 2
Re: arm-elf-eabi-cpp: error trying to exec 'cc1': execvp: file not found
« Reply #2 on: July 24, 2017, 07:43:35 AM »
Code: [Select]
/usr/local/bin/arm-elf-eabi-cpp
And of course /usr/local/bin/ is in my $PATH.
Where is cc1 supposed te be after the installation?

EDIT
Ok, it looks like the good old permission issue. rockboxdev.sh puts everithing into /usr/local/libexec, but
Code: [Select]
drwxr-s--- 3 root staff 4,0K lug 23 22:18 libexec/normal users cannot enter that directory and the others nested.

I don't know how rockboxdev.sh manages premissions, but I suspect that some other script has messed with that directory.
« Last Edit: July 24, 2017, 08:02:09 AM by dgiglio »
Logged

Offline pamaury

  • Developer
  • Member
  • *
  • Posts: 507
Re: arm-elf-eabi-cpp: error trying to exec 'cc1': execvp: file not found
« Reply #3 on: August 22, 2017, 03:42:20 PM »
What distribution are you using? rockboxdev.sh merely downloads and builds things, ie calls the configure and makefiles of gcc and other tools. Probably those tools expect a world readable /usr/local and subdirs.

By the way, this looks like a strange permision for libexec, not being even world readable.
Logged
Please don't PM me, use our IRC channel instead.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  arm-elf-eabi-cpp: error trying to exec 'cc1': execvp: file not found
 

  • SMF 2.0.6 | SMF © 2013, Simple Machines
  • XHTML
  • RSS
  • WAP2

Page created in 0.048 seconds with 37 queries.