<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">I am trying to create a cross compiler from x86
Debian-Linus -> mips-eb (endian big) Linux (OpenWrt).<br>
The target platform is a netgear 3700 router.<br>
<br>
I downloaded the toolchain for openwrt mips-eb and try to make the
cross compiler.<br>
when I run<br>
make all CPU_TARGET=mips OS_TARGET=linux
BINUTILSPREFIX=/usr/bin/mips-linux-gnu-<br>
<br>
there were errors:<br>
/home/dennis/toolchains/staging_dir_mips/bin/mips-linux-as -32 -mips32
-EB -o /home/dennis/fpc/2.7.1/rtl/units/mips-linux/prt0.o mips/prt0.as<br>
mips/prt0.as: Assembler messages:<br>
mips/prt0.as:23: Error: illegal operands `lui $a2,%hi(__dl_fini)'<br>
<br>
<br>
looks like the mips-linux-asĀ assembler cannot understand the symbolic
register $a2.<br>
<br>
May be the assembler version is too old (late 2009) but I cannot find a
newer assembler so I am wondering if I can make the fpc compiler
product object files that DO NOT REFERENCE symbolic registers.<br>
<br>
If you know of any options parameters that I can pass to fpc to achieve
that, please kindly let me know.<br>
<br>
Thanks a lot.<br>
<br>
Dennis<br>
</font>
</body>
</html>