<div dir="ltr">Hi,<div><br></div><div>I am working on modifying or1k newlib port to be built for RTEMS. Building and installing</div><div>newlib with --target=or1k-elf is done successfully, however, when I try to build newlib</div>
<div>with --target=or1k-rtems4.11 I got conflict error.</div><div><br></div><div>part of this error is </div><div>"sys/rtems/crt0.c:72:22: error: conflicting types for ‘read’"</div><div><br></div><div>or1k/newlib port implements some stuff at libgloss (including or1k/crt0.S)</div>
<div><br></div><div>I just use --target=or1k-xxx --prefix=xxx as configuration options for newlib.</div><div><br></div><div>Thanks,</div><div>Hesham</div></div>