----- Am 4. Jun 2018 um 12:20 schrieb Amaan Cheval amaan.che...@gmail.com:

> That's a good idea. That way based on the multilib variant, Newlib would be
> compiled using fPIC, yes?

Yes.

> 
> Then I could simply figure out how to solve the crtbegin and crtend dilemma
> (which I believe should be easier), and use those to have a dynamic/shared
> RTEMS kernel + user application.

These files will be compiled with -fPIC as well.

> 
> If that sounds right, I'll look into that first. Not familiar with the GCC
> source yet, but it should be doable.

Sorry, I have no idea how the x86_64 configuration of GCC works for RTEMS.

> 
> 
> On Mon, Jun 4, 2018, 3:43 PM Sebastian Huber <
> sebastian.hu...@embedded-brains.de> wrote:
> 
>> Hello Amaan,
>>
>> can't you add a new multilib variant which includes -fPIC to the GCC
>> configuration for RTEMS?
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to