<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 9pt;
font-family:新細明體
}
</style>
</head>
<body class='hmmessage'>
<BR><BR> <BR>Dear all,<BR>
 <BR>
 <BR>
I have a problem while compiling the ARM assembly file produced by LLVM arm backend  (llc)。<BR>
 <BR>
The commands I did are ..<BR>
<STRONG>llc -march=arm printf.bc -o printf.arm.s</STRONG><BR>
<STRONG>arm-softfloat-linux-gnu-as printf.arm.s -o printf.arm.o</STRONG><BR><STRONG>arm-softfloat-linux-gnu-ld --dynamic-linker /home/toolchain/arm-softfloat-linux-gnu/distributed/arm-softfloat-linux-gnu/lib/ld-2.3.5.so /home/toolchain/arm-softfloat-linux-gnu/arm-softfloat-linux-gnu/lib/crt1.o  /home/toolchain/arm-softfloat-linux-gnu/arm-softfloat-linux-gnu/lib/crti.o  /home/toolchain/arm-softfloat-linux-gnu/arm-softfloat-linux-gnu/lib/crtn.o -lc printf.arm.o -o printf.arm</STRONG><BR>
<STRONG></STRONG> <BR>
The error message is as following, <BR>
<BR>arm-softfloat-linux-gnu-ld: ERROR: printf.arm.o is compiled for EABI version 5, whereas printf.arm is compiled for version 0<BR>arm-softfloat-linux-gnu-ld: failed to merge target specific data of file printf.arm.o<BR>arm-softfloat-linux-gnu-ld: printf.arm.o: warning: unresolvable relocation 28 against symbol <A href="mailto:`printf@@GLIBC_2.0'">`printf@@GLIBC_2.0'</A> from .text section<BR>printf.arm.o(.text+0x20): In function `main':<BR>: internal error: unsupported relocation error<BR><BR>
 <BR>
Can anyone provide the appropriate toolchain which can sucessfully compile ARM assembly file into ARM binary  and the complete commands?<BR>
 <BR>
Thank you ..<BR>
 <BR><br /><hr />用部落格分享照片、影音、趣味小工具和最愛清單,盡情秀出你自己 — <a href='http://home.spaces.live.com/?showUnauth=1&lc=1028' target='_new'>Windows Live Spaces</a></body>
</html>