Recipes for specific linux dustributions

Debian-12

Your Debian system should have these packages installed:

  • binutils

  • bison

  • bzip2

  • flex

  • g++

  • gcc

  • git

  • libpython3.11-dev

  • make

  • mercurial

  • python3.11-distutils

  • texinfo

  • unzip

  • xz-utils

Since Debian 12 no longer has Python 2, you need to build Python 2 yourself. First install these additional packages:

  • build-essential

  • libbz2-dev

  • libdb-dev

  • libgdbm-dev

  • libncurses5-dev

  • libreadline-dev

  • libsqlite3-dev

  • libssl-dev

  • wget

  • zlib1g-dev

Building python as described in Building Python 2.

Then edit CONFIG.COMMON, change ‘RTEMS_CROSS_USE_LOCAL_PYTHON2’ to “yes”.

Now build the crosstools as described in: building cross tools.

Fedora 37

Your Fedora system should have these packages installed:

  • binutils

  • bison

  • bzip2

  • diffutils

  • flex

  • g++

  • gcc

  • git

  • make

  • mercurial

  • ncurses-devel

  • patch

  • perl-File-Compare

  • python2

  • python3-devel

  • python-unversioned-command

  • texinfo

  • unzip

  • xz

Now build the crosstools as described in: building cross tools.