Suraj Kumar commented on a discussion on rtems/config/tools/rtems-install-stdcxx.cfg: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/48#note_111344 > +# macro defined in the GCC newlib file. > +%define rsb_rtems_gcc_version %( \ > + if [ -x %{_bindir}/%{_target}-gcc ]; then \ > + %{_bindir}/%{_target}-gcc --version | head -1 | awk '{print $3}'; \ > + else \ > + echo %{gcc_version}; \ > + fi \ > +) > > -# Path to the target location of the script: gdb/python > -%define stdcxx_script %{_prefix}/share/gdb/python/rtems/stdcxx.py > +# Path to the target location of the script: gdb/python/rtems > +%define stdcxx_script_path %{_prefix}/share/gdb/python/rtems > + > +# Check if the install directory exists. If not, create it > +%([ -d %{stdcxx_script_path} ] || mkdir -p %{stdcxx_script_path}) Hmm, I don't suppose that option is enabled. I am not sure about that but I suppose it might need to be added as another check? @chris What do you think? -- View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/48#note_111344 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs