All beaver) Tell me please, men, what should I do with This? This is called RTEMS 4.11 ??? Who is familiar? Who had this wonderful operating system? Already the second day I can not even get the source code, I do not understand at all. They still have a badly updated site (it seems to be stagnant), infa is outdated, now the sources are collected from users on machines and not downloaded from the site, unfortunately ... So, I have a problem: Python gives an error, they say

proglyk@PronyashinIN-34 MINGW32 /development/rtems/4.11/src/source-builder/source-builder $ ./sb-check error: no hosts defaults found; please add MINGW32_NT-6.1 

in source code this is a python collector on mingw32, see for yourself:

 if os.name == 'nt': try: import windows overrides = windows.load() host_windows = True host_posix = False except: raise error.general('failed to load Windows host support') elif os.name == 'posix': uname = os.uname() try: if uname[0].startswith('MINGW64_NT'): import windows overrides = windows.load() host_windows = True elif uname[0].startswith('CYGWIN_NT'): import windows overrides = windows.load() elif uname[0] == 'Darwin': import darwin overrides = darwin.load() elif uname[0] == 'FreeBSD': import freebsd overrides = freebsd.load() elif uname[0] == 'NetBSD': import netbsd overrides = netbsd.load() elif uname[0] == 'Linux': import linux overrides = linux.load() elif uname[0] == 'SunOS': import solaris overrides = solaris.load() except error.general as ge: raise error.general('failed to load %s host support: %s' % (uname[0], ge)) except: raise error.general('failed to load %s host support' % (uname[0])) else: raise error.general('unsupported host type; please add') if overrides is None: raise error.general('no hosts defaults found; please add %s' % (uname[0])) 

So what should I do?

  • And if you use the flag MINGW64 ? ... Although, as I understand it, the build is under linux? Then the Linux flag is more logical to use. - Majestio
  • Well, I have 32. I do not know what will happen. I 'll try it now, thank you - Ilya Pronyashin
  • github.com/RTEMS/rtems-source-builder/blob/master/doc/… - if it is, then a lot of things are written there. Need to do the steps. There is a description of the situations. - Majestio
  • It still does not work. I now know what I do not understand ... That's why such a garden to fence, if in the end nothing works? Why it was impossible to distribute the source code like a freertos? No, you need to do this, write a bunch of manuals where it is shown that everything is OK, but in fact there are generally incomprehensible errors. Shit. That's all. I have nothing to mess with this junk. Shame (((( - Ilya Pronyashin
  • msys2 puts in the value readable in the script with the commanduname = os.uname () - Ilya Pronyashin

0