Grrr.. the patch I posted is necessary but not sufficient. Attached is the config file in case something in it is wrong. I think somewhere else has a 6. :(
========================================== # project configured on Fri Nov 12 09:05:51 2021 by # waf 2.0.20 (abi 20, python 20705f0 on linux2) # using ./waf configure --rtems-tools=/home/joel/rtems-cron-7/tools/7 --rtems-bsps=sparc/leon3 --out=b-leon3 --prefix=/home/joel/rtems-cron-7/tools/7/bsp-install --rtems-config=config-sparc-leon3.ini # ---------------------------------------- Setting top to /home/joel/rtems-cron-7/rtems ---------------------------------------- Setting out to /home/joel/rtems-cron-7/rtems/b-leon3 ---------------------------------------- Configure board support package (BSP) sparc/leon3 ---------------------------------------- Checking for program 'sparc-rtems6-gcc' not found find program=['sparc-rtems6-gcc'] paths=['/home/joel/rtems-cron-7/tools/7/bin', '/home/joel/rtems-cron-7/tools/7', '/home/joel/rtems-cron-7/tools/7/bsp-install/bin', '/home/joel/rtems-cron-7/tools/7/bin', '/usr/local/bin', '/usr/bin', '/usr/local/sbin', '/usr/sbin', '/home/joel/.local/bin', '/home/joel/bin'] var='SPARC_RTEMS6_GCC' -> None from /home/joel/rtems-cron-7/rtems: Could not find the program ['sparc-rtems6-gcc'] ========================================== I've grep'ed and poked around but can't find the magic bit. :( --joel On Fri, Nov 12, 2021 at 9:01 AM Joel Sherrill <j...@rtems.org> wrote: > > On Fri, Nov 12, 2021 at 7:46 AM Sebastian Huber > <sebastian.hu...@embedded-brains.de> wrote: > > > > On 11/11/2021 22:31, Joel Sherrill wrote: > > > On Thu, Nov 11, 2021 at 12:56 PM Sebastian Huber > > > <sebastian.hu...@embedded-brains.de> wrote: > > >> > > >> > > >> On 11/11/2021 17:47, Joel Sherrill wrote: > > >>> Hi > > >>> > > >>> I was looking at the logs for building the rtems7 tools and it seems > > >>> that I am missing something on the waf configure for rtems to build > > >>> for rtems7. Assuming it is possible. My command was: > > >>> > > >>> ./waf configure --rtems-tools=/home/joel/rtems-cron-7/tools/7 > > >>> --rtems-bsps=sparc/leon3 --out=b-leon3 > > >>> --prefix=/home/joel/rtems-cron-7/tools/7/bsp-install > > >>> --rtems-config=config-sparc-leon3.ini > > >>> > > >>> And it still tried to find sparc-rtems6-gcc. Is there an argument i am > > >>> mising? > > >> Try to add > > >> > > >> __RTEMS_MAJOR__ = 7 > > >> > > >> to the config.ini. > > > That isn't in the set dumped by bsp_defaults and using it didn't > > > appear to change anything. > > > > Ok, I seem to remember a discussion about this some time ago. Options with > > > > default: null > > > > cannot be changed by the user. I think for the RTEMS version the reason > > was that users should be forced to use the right tool chain. > > > > We could change the RTEMS version options to > > > > default: 6 > > > > for example. > > > > At the moment you have to patch spec/build/cpukit/optvermaj.yml to build > > with a tool chain of the wrong version. > > It took a bit more than that but a patch is coming. This should let my build > sweep do a bit more with rtems 7. I am still unsure if rtems-bsp-builder will > work with 7. That's a question for Chris. > > --joel > > > > > -- > > embedded brains GmbH > > Herr Sebastian HUBER > > Dornierstr. 4 > > 82178 Puchheim > > Germany > > email: sebastian.hu...@embedded-brains.de > > phone: +49-89-18 94 741 - 16 > > fax: +49-89-18 94 741 - 08 > > > > Registergericht: Amtsgericht München > > Registernummer: HRB 157899 > > Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler > > Unsere Datenschutzerklärung finden Sie hier: > > https://embedded-brains.de/datenschutzerklaerung/ _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel