Suraj  Kumar commented: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/48#note_111337


I think `rtems-install-stdcxx.cfg` is being run by the RSB before it has a 
chance to get included at the right time (via `gcc-common-1.cfg`). I tried to 
circumvent this by defining a variable like

```
%define gcc_installed %(if [ -x %{_bindir}/%{_target}-gcc ]; then echo 1; else 
echo 0; fi)
```

and then placing the rest of the script under this condition, i.e, the first 
time being run by the RSB it would not run, and we can define it inside the 
check within `gcc-common-1.cfg` (`gcc_pre_install`) before including 
`rtems-install-stdcxx.cfg` and it should have worked but didn't. Please let me 
know if this can be an approach as well

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/48#note_111337
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to