Re: Attempt to get rid of -qrtems

2019-07-01 Thread Sebastian Huber
On 01/07/2019 07:23, Sebastian Huber wrote: On 01/07/2019 02:41, Joel Sherrill wrote: On Sun, Jun 30, 2019, 7:09 PM Chris Johns > wrote:     On 28/6/19 6:02 pm, Sebastian Huber wrote: > On 28/06/2019 01:37, Chris Johns wrote: >> On 27/6/19 10:08 pm, Sebasti

Re: Attempt to get rid of -qrtems

2019-06-30 Thread Sebastian Huber
On 01/07/2019 02:41, Joel Sherrill wrote: On Sun, Jun 30, 2019, 7:09 PM Chris Johns > wrote: On 28/6/19 6:02 pm, Sebastian Huber wrote: > On 28/06/2019 01:37, Chris Johns wrote: >> On 27/6/19 10:08 pm, Sebastian Huber wrote: >>> I would like to get

Re: Attempt to get rid of -qrtems

2019-06-30 Thread Joel Sherrill
On Sun, Jun 30, 2019, 7:09 PM Chris Johns wrote: > On 28/6/19 6:02 pm, Sebastian Huber wrote: > > On 28/06/2019 01:37, Chris Johns wrote: > >> On 27/6/19 10:08 pm, Sebastian Huber wrote: > >>> I would like to get rid of the -qrtems command for normal RTEMS > applications. > >> I do not think you

Re: Attempt to get rid of -qrtems

2019-06-30 Thread Chris Johns
On 28/6/19 6:02 pm, Sebastian Huber wrote: > On 28/06/2019 01:37, Chris Johns wrote: >> On 27/6/19 10:08 pm, Sebastian Huber wrote: >>> I would like to get rid of the -qrtems command for normal RTEMS >>> applications. >> I do not think you can remove -qrtems as it will break all existing configure

Re: Attempt to get rid of -qrtems

2019-06-28 Thread Sebastian Huber
On 28/06/2019 01:37, Chris Johns wrote: On 27/6/19 10:08 pm, Sebastian Huber wrote: I would like to get rid of the -qrtems command for normal RTEMS applications. I do not think you can remove -qrtems as it will break all existing configure scripts. The default needs to be stubs. Ok, this was

Re: Attempt to get rid of -qrtems

2019-06-27 Thread Joel Sherrill
I want to +1 on the default behavior being right for configure scripts with no magic. The .pc file contents reflect the fragments from the make .cfg file. Those assume infrastructure to get the other arguments. So the .PC files need more. Good spot On Thu, Jun 27, 2019, 8:08 PM Jonathan Brandme

Re: Attempt to get rid of -qrtems

2019-06-27 Thread Jonathan Brandmeyer
Closely related, the .pc files installed for each bsp under lib/pkgconfig also add the -qrtems argument to cflags. On Thu, Jun 27, 2019 at 5:35 PM Chris Johns wrote: > > On 27/6/19 10:08 pm, Sebastian Huber wrote: > > I would like to get rid of the -qrtems command for normal RTEMS > > applicatio

Re: Attempt to get rid of -qrtems

2019-06-27 Thread Chris Johns
On 27/6/19 10:08 pm, Sebastian Huber wrote: > I would like to get rid of the -qrtems command for normal RTEMS applications. I do not think you can remove -qrtems as it will break all existing configure scripts. The default needs to be stubs. Chris ___ d

Re: Attempt to get rid of -qrtems

2019-06-27 Thread Sebastian Huber
On 27/06/2019 14:08, Sebastian Huber wrote: +%{!nostdlib: %{--start-group \ +-lrtemsbsp -lrtemscpu -latomic -lc -lgcc \ +--end-group %{!qnolinkcmds: -T linkcmds%s}}}" Why is the -qnolinkcmds under the -nostdlib scope? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 P

Re: Attempt to get rid of -qrtems

2019-06-27 Thread Sebastian Huber
On 27/06/2019 14:08, Sebastian Huber wrote: +"%{qrtemsstub: %{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}} \ I think this can be simplified to: %{qrtemsstub: -lc} -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47