Sven,

I am really ignorant in this area. I followed the doc to download the
<since I actually needed mips instead of mipsel, I choose the following deb file> binutils-mips-linux-gnu_2.22-8_i386.deb and i Installed it after installing fpc....deb
by dpkg -i binutils-mips-linux-gnu_2.22-8_i386.deb
and I believe that installed files in /usr
as I found /usr/mips-linux-gnu/bin folder contains the following files:
ar
as
ld
nm
objcopy
objdump
ranlib
strip


Also, although I followed the doc and add the lines

deb http://www.emdebian.org/debian/ squeeze main

I don't know how that actually does anything. No crosstools files see to be generated when I install fpc...deb

What shuold I do now? Also, if it succeeds finally, how should I make the new target CPU available in Lazarus?

Thanks a lot.

Dennis
On 08.06.2013 13:43, Dennis Poon wrote:
Sven,

Thanks for the prompt reply.
I did "make all ...." and after many lines of messages, the last few are:
make[5]: mipsel-linux-as: command not found
make[5]: *** [prt0.o] Error 127
make[5]: Leavning directory '/home/dennis/fpc/rtl/linux'
....

make[1]:
make: *** [build-stamp.mipsel-linus] Error 2

Any clues?

How are the binutils called that you generated? If they are called e.g. "mips-linux-as" and "mips-linux-ld" then you need to pass the additional option "BINUTILSPREFIX=mips-linux-" to the "make all" call.

Regards,
Sven

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3343 / Virus Database: 3199/6394 - Release Date: 06/08/13


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to