Dear Sir/Madam,

I am working on compiling the RTEMS toolchain on a Windows machine following 
the instructions provided here:
https://docs.rtems.org/branches/master/user/hosts/windows.html#cygwin

Both Cygwin and MSYS2 are installed along with most of the recommended 
packages, however, I could not find the gcc4* or python packages. Instead, I 
installed similar gcc* and python2 packages.

When I compile using the following command,
../source-builder/sb-set-builder --prefix=/cygdrive/c/opt/rtmes/5.1 
5/rtems-sparc --jobs=none

The build makes it up to building gdb and then fails with a python error.
building: sparc-rtems5-gdb-9.1-x86_64-pc-cygwin-1
error: building sparc-rtems5-gdb-9.1-x86_64-pc-cygwin-1

I have attached the rsb-report and log files The key issue seems to be in the 
following lines of the report:
checking whether to use python... /usr/bin/python2
checking for python... no
configure: error: no usable python found at /usr/bin/python2
make[1]: *** [Makefile:8869: configure-gdb] Error 1
make[1]: Leaving directory 
'/cygdrive/c/opt/rtems/5.1/rtems/build/sparc-rtems5-gdb-9.1-x86_64-pc-cygwin-1/build'
make: *** [Makefile:855: all] Error 2
shell cmd failed: sh -ex  
/cygdrive/c/opt/rtems/5.1/rtems/build/sparc-rtems5-gdb-9.1-x86_64-pc-cygwin-1/do-build
error: building sparc-rtems5-gdb-9.1-x86_64-pc-cygwin-1

By default, Python is installed at /bin, not /usr/bin, so I tried copying the 
python files from /bin to /usr/bin, but that did not resolve the issue. I 
attached a screenshot showing the contents of /usr/bin when this failure 
occurred.

Any ideas how to get around this problem so that gcc recognizes the python 
installation? Thank you for your input.

Sincerely,

Luke Halberstadt
Senior Associate Training Engineer
Natick, MA USA
(508) 647-0196
lhalb...@mathworks.com<mailto:lhalb...@mathworks.com>


_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to