When following the steps on RTEMS 6.1 User Manual Quick Start, ch. 2.4:
cd $HOME/quick-start/src/rsb/rtems
2 ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 6/rtems-sparc
First, that won’t work, it needs to go an extra level up:
../../rsb/source-builder/sb-set-builder –-prefix=$HOME/quick-start/rtems/6 6/rtems-sparc
But then produces this error as it seems to ignore the path:
RTEMS Source Builder - Set Builder, 6.1
warning: exe: absolute exe found in path: (__cmake) /usr/bin/cmake
error: prefix is not writable: /opt/rtems/6
Build FAILED
What does seem to work is:
cd $HOME/quick-start/src/rsb
./source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 6/rtems-sparc
Is that correct and is there a typo in the user manual?