Hello,

I am trying to compile a 64-bit version of PMON, using the toolchain from
http://dev.lemote.com/files/binary/toolchain/kernel/gcc-3.4.6-newbin.ls2f.tar.gz

I got a couple of problems which I figured out how to work-around myself,
and it looks like for the most part the PMON is compiled fine, but then I get
to this error:

mipsel-linux-ld -m elf64ltsmip -G 0 -static -n -nostdlib -EL -N -G 0
-T../../conf/ld.script -e start -S -o pmon ${SYSTEM_OBJ} vers.o
mipsel-linux-ld: cannot find -lgcc
make[1]: *** [pmon] Error 1
make[1]: Leaving directory
`/r/hdd/i/Downloads/LM6004-1.3.6/Targets/Bonito/compile/Bonito'
make: *** [startram.o] Error 2

It looks like a toolchain problem. Does anyone know what should I do to fix
this? This file does exist:
/usr/local/comp/mips-elf/gcc-3.4.6-newbin/lib/gcc/mipsel-linux/3.4.6/libgcc.a
Is the problem that ld can't find or can't use it?

Is there an instruction manual how to compile a 64-bit PMON? As I understood
the one here http://dev.lemote.com/code/pmon suggests to use a 32-bit
toolchain and produce a 32-bit PMON.

-- 
With respect,
Roman

Attachment: signature.asc
Description: PGP signature

Reply via email to