Rockbox Development > Starting Development and Compiling

Compiling a bootloader for a Gigabeat F40?

(1/2) > >>

theglades00:
I'd like to compile a bootloader for an f40 but Cygwin returns errors. Are there instructions for compiling a bootloader somewhere on the site (I couldn't find any)?

nls:
Compiling a bootloader should be just like compiling a regular build but selecting bootloader in configure. If you are using svn make sure you have checked out the bootloader dir of the source tree. If that doesn't help, please post detailed error messages as it is quite difficult to know what problem you have otherwise.

theglades00:
When I create a makefile it outputs:
../tools/configure: line 1868: arm-elf-gcc: command not found
../tools/configure: line 1872: arm-elf-ld: command not found
WARNING: The compiler you must use <arm-elf-gcc> is not in your path!
WARNING: this may cause your build to fail since we cannot do the checks WARNING: we want now.
Using arm-elf-ld
Created Makefile

It does create a makefile but when I try to make, the output is:
gcc -O -g -W -Wall -Wshadow -pedantic rdf2binary.c -o rdf2binary
/bin/ld: cannot find -luser32
collect2: ld returned 1 exit status
make[1]: *** [rdf2binary] Error 1
make: *** [tools] Error 2

nls:
Did you follow the guide in the wiki? and did you complete _all_the steps and install _all_ the packages that it says you need?

AlexP:
and assuming you ran rockboxdev.sh to build the crss compilers as the instructions say, did you add the necessary items to your path as instructed at the end?

Navigation

[0] Message Index

[#] Next page

Go to full version