Rockbox Development > Starting Development and Compiling
Compiling rockbox using a mac?
GodEater:
He's not using Linux...
robin0800:
Well that is one of the symptoms I had and the path was not found because arm-elf-gcc had not been made properly..
brogan:
So what should I do? When I typed find / -name "arm-elf-gcc" -print, it said, find: /.Spotlight-V100/.journalHistoryLog: Permission denied
find: /.Spotlight-V100/.store.db: Permission denied
find: /.Spotlight-V100/_rules.plist: Permission denied
find: /.Spotlight-V100/ContentIndex.db: Permission denied
find: /.Spotlight-V100/store.db: Permission denied
find: /.Spotlight-V100: Permission denied
find: /.Trashes: Permission denied
,
So that didn't work, and like Godeater said, I'm not using Linux, so sudo CPPFLAGS=-U_FORTIFY_SOURCE ./rockboxdev.sh
, so that didn't work either.
What should I try doing, should I delete the files and rerun rockboxdev.sh? Thanks
cool_walking_:
--- Quote from: brogan on October 24, 2008, 08:24:02 PM ---should I delete the files and rerun rockboxdev.sh?
--- End quote ---
That sounds like a good idea. You probably need to run the script with sudo, too.
brogan:
And so how do I run the script with sudo?
I deleted the files and reran rockboxdev.sh and i noticed that near the end in terminal it said,
make[3]: *** [crtbegin.o] Error 1
make[2]: *** [extra] Error 2
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2
ROCKBOXDEV: gcc/make install to /usr/local/arm-elf
/bin/sh ../gcc-4.0.3/mkinstalldirs /usr/local/arm-elf /usr/local/arm-elf
mkdir -p -- /usr/local/arm-elf /usr/local/arm-elf
mkdir: /usr/local/arm-elf: Permission denied
mkdir: /usr/local/arm-elf: Permission denied
make: *** [installdirs] Error 1
Cleaning up build folder
Done!
Make your PATH include :/usr/local/arm-elf/bin
============================ Summary ============================
target: arm-elf
gcc version: 4.0.3
gcc patch: rockbox-multilibs-arm-elf-gcc-4.0.3_2.diff
binutils: 2.16.1
installation target: /usr/local/arm-elf
When done, append /usr/local/arm-elf/bin to PATH
So there was no usr/local/arm-elf/ folder, it said permission denied and didn't create arm-elf/. Now what should I try doing? If I need to, I do have access to a vista. Thanks
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version