<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 4, 2018 at 5:44 AM, Sebastian Huber <span dir="ltr"><<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Am 4. Jun 2018 um 12:20 schrieb Amaan Cheval <a href="mailto:amaan.cheval@gmail.com">amaan.cheval@gmail.com</a>:<br>
<br>
> That's a good idea. That way based on the multilib variant, Newlib would be<br>
> compiled using fPIC, yes?<br>
<br>
</span>Yes.<br></blockquote><div><br></div><div>This would be desirable for the i386 as well. Having the RTEMS libraries as</div><div>dynamic libraries would be more natural under Deos.</div><div><br></div><div>Just a statement. Not a requirement on the GSoC project. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> <br>
> Then I could simply figure out how to solve the crtbegin and crtend dilemma<br>
> (which I believe should be easier), and use those to have a dynamic/shared<br>
> RTEMS kernel + user application.<br>
<br>
</span>These files will be compiled with -fPIC as well.<br></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> <br>
> If that sounds right, I'll look into that first. Not familiar with the GCC<br>
> source yet, but it should be doable.<br>
<br>
</span>Sorry, I have no idea how the x86_64 configuration of GCC works for RTEMS.<br>
<span class="im HOEnZb"><br>
> <br>
> <br>
> On Mon, Jun 4, 2018, 3:43 PM Sebastian Huber <<br>
> <a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-<wbr>brains.de</a>> wrote:<br>
> <br>
>> Hello Amaan,<br>
>><br>
>> can't you add a new multilib variant which includes -fPIC to the GCC<br>
>> configuration for RTEMS?<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>