while compiling a kernel for our board based on the idt 79rc332 , i am
getting the error below.
The target board is big endian. The files that where gziped where created
with a crossassembler that produces big endian files
the kernel is the 2.4.21-pre3. the ramdisk.gz file was created on a pc based
linux with some test files(big endian)
and copied in the location .../linux/arch/mips/ramdisk
1- am i reading it right that the linker wont accept the ramdisk.gz
because it was created on a little endian system (the pc linux)
command to create the file : cat file1 file2 ... | gzip -c > ramdisk.gz
2- anyone know a workaround for this problem(other than changing the
target ,and its monitor to little endian ) .
many thanks for all help
from make .....
make: Entering directory
echo "O_FORMAT: " elf32-bigmips
mips-linux-ld -T ld.script -b binary --oformat elf32-bigmips -o ramdisk.o
mips-linux-ld: ramdisk.gz: compiled for a little endian system and target is
File in wrong format: failed to merge target specific data of file
make: *** [ramdisk.o] Error 1
make: Leaving directory
make: *** [_dir_arch/mips/ramdisk] Error 2