<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 30, 2019, 7:09 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 28/6/19 6:02 pm, Sebastian Huber wrote:<br>
> On 28/06/2019 01:37, Chris Johns wrote:<br>
>> On 27/6/19 10:08 pm, Sebastian Huber wrote:<br>
>>> I would like to get rid of the -qrtems command for normal RTEMS applications.<br>
>> I do not think you can remove -qrtems as it will break all existing configure<br>
>> scripts. The default needs to be stubs.<br>
> <br>
> Ok, this was just some side-effect of an attempt to get rid of the bsp_specs.<br>
> What about the attached patch.<br>
<br>
I am sorry I do not know without testing it.<br>
<br>
> You can add startfiles via the linker command file. Is it possible to add also<br>
> endfiles? I didn't find anything in the GNU ld documentation about this.<br>
<br>
Having the start files in linkercmd files is something I have wondered about for<br>
a long time and I think it is a good idea. I think anything that removes our<br>
dependence on per BSP or even external specs file is a good thing.<br>
<br>
I think the way we have a BPS centric build and install makes it difficult to<br>
generalise. For example any configure script that tests for networking fails<br>
without the full BSP set of options plus -lbsd.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I believe I moved some start files to linkcmds when I was working to get the bsp_specs files to be more similar and move parts to gcc where common. My first step was reducing differences within an architecture across the BSPs and looking for common pieces to move to gcc. It was tedious but quickly became obvious we had disabled some behavior we turned around and added via the bsp_specs.</div><div dir="auto"><br></div><div dir="auto">I think I have a specs branch on my gcc clone at the office. I will post what I had when (if) I find it. </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Chris<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></div>