Rockbox Development > Starting Development and Compiling

arm-elf-eabi-gcc not in PATH

<< < (8/11) > >>

Kalin:
Forget de previous lines of error. There were from installing the arm-elf compiller. These are from the arm-eabi-elf installation (via rockboxdev.sh, of course):

--- Code: ---libtool: compile:  gcc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I../../binutils-2.20.1/bfd -I. -I../../binutils-
.20.1/bfd -I../../binutils-2.20.1/bfd/../include -I./../intl -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -U_FORTIFY_SOURCE -MT elf32-arm.lo -MD -MP -MF .deps/elf32-arm.Tpo -c ../../binutils-
.20.1/bfd/elf32-arm.c -o elf32-arm.o
cc1: warnings being treated as errors
../../binutils-2.20.1/bfd/elf32-arm.c: In function ‘elf32_arm_print_private_bfd_data’:
../../binutils-2.20.1/bfd/elf32-arm.c:10502: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10510: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10512: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10514: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10517: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10520: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10523: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10526: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10529: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10538: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10541: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10543: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10549: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10552: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10554: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10557: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10560: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10567: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10571: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10575: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10578: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10581: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10587: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10594: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10597: warning: format not a string literal and no format arguments
../../binutils-2.20.1/bfd/elf32-arm.c:10602: warning: format not a string literal and no format arguments
make[4]: *** [elf32-arm.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-bfd] Error 2
make: *** [all] Error 2

--- End code ---
Hope this piece of code will be enough. If doesn't, just ask for more lines.

Thanks for trying to help, torne :)

funman:
I could build all the compilers on 10.5.8 but apparently it's not possible on 10.6; at least without a patch that nobody wrote.

You're a bit on your own because most developers here use linux, and OSX tools frequently have incompatibilities with the original GNU tools

torne:
Add --disable-werror to the arguments for configure, and it might work.

Kalin:

--- Quote from: torne on July 05, 2010, 10:00:42 AM ---Add --disable-werror to the arguments for configure, and it might work.

--- End quote ---
To which instruction may I add this argument? I've tried with rockboxdev.sh, and when introducing the parameters it asks, but nothing changed...

Well, it seems I'd have to try in an Ubuntu OS that I have in another PC...

Thank you both for the tips! ;)

torne:
Edit rockboxdev.sh and add it to the end of the line that says:

--- Code: ---CFLAGS=-U_FORTIFY_SOURCE ../$toolname-$version/configure --target=$target --prefix=$prefix --enable-languages=c --disable-libssp --disable-docs $configure_params
--- End code ---

binutils treats all warnings as errors by default, but it's being built by your host compiler and your host compiler is not guaranteed to be entirely happy with it. --disable-werror tells it to let warnings slide :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version