[fpc-devel] how to produce object codes that do not reference symbolic registers
Dennis
dec12 at avidsoft.com.hk
Mon Jun 17 17:20:03 CEST 2013
I am trying to create a cross compiler from x86 Debian-Linus -> mips-eb
(endian big) Linux (OpenWrt).
The target platform is a netgear 3700 router.
I downloaded the toolchain for openwrt mips-eb and try to make the cross
compiler.
when I run
make all CPU_TARGET=mips OS_TARGET=linux
BINUTILSPREFIX=/usr/bin/mips-linux-gnu-
there were errors:
/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
mips/prt0.as: Assembler messages:
mips/prt0.as:23: Error: illegal operands `lui $a2,%hi(__dl_fini)'
looks like the mips-linux-as assembler cannot understand the symbolic
register $a2.
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.
If you know of any options parameters that I can pass to fpc to achieve
that, please kindly let me know.
Thanks a lot.
Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130617/345b3ae4/attachment.html>
More information about the fpc-devel
mailing list