<div dir="ltr">Hi,<div><br></div><div>Create this new thread to talk about this topic and the reloc related.</div><div><br></div><div>1.</div><div>As you suggested, I have compiled toolchain for arm using option `-mlong-calls` on arm realview qemu platform, and now the python.rap file can be correctly loaded and python interpreter can run the xxx.py in startup like this `rap ld ./python-library.rap  tmp a.py`. </div>
<div>A small hack should be done is about gcc search dirs. I'll try to fix this later.</div><div><br></div><div>Another issue is that, when python rap is loaded without and py file passed to it, it can not respond to input. The msg output is :</div>
<div><br></div><div><div>RTEMS SHELL (Ver.1.0-FRC):/dev/console. Aug  3 2014. 'help' to list commands.</div><div>[/] # rap ld ./python-library.rap</div><div>rtl: loading './python-library.rap'</div><div>rtl: rap: input machine=0</div>
<div>rtl: rap: machinetype=40</div><div>rtl: rap: datatype=1</div><div>rtl: rap: class=1</div><div>rtl: rap: input header=12</div><div>rtl: rap: load: symtab=16068 (1339) strtab=23867 relocs=0</div><div>rtl: rap: input .text=32948</div>
<div>rtl: rap: input .const=1088028</div><div>rtl: rap: input .data=1233652</div><div>rtl: rap: input symbols=1465241</div><div>rtl: rap: input relocs=1505176</div><div>Could not find platform independent libraries <prefix></div>
<div>Could not find platform dependent libraries <exec_prefix></div><div>Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]</div><div>Python 2.7.8 (default, Aug  3 2014, 21:17:53) </div><div>[GCC 4.8.3 20140522 (RTEMS 4.11-RSB-7c46699472b0d0adea2010f735722e2610c8c6ae-1, on linux2</div>
<div>Type "help", "copyright", "credits" or "license" for more information.</div><div>>>> </div></div><div><br></div><div>It does not respond to input, any ideas about this?</div>
<div><br></div><div>2. I have not tried on sparc sis, because it's memory is small. How to modify it's memory size in sis-gdb?</div><div><br></div><div>Regards,</div><div>Peng.</div></div>