RSB builds single-threaded Newlib by default?
Chris Johns
chrisj at rtems.org
Tue Apr 18 04:30:45 UTC 2017
On 18/04/2017 13:20, Linda Huxley wrote:
> Hi Chris,
>
>> I assume you are building RTEMS by hand.
>
> I'm not sure what that means. These are the commands that I issued
> after successfully building the 4.11.2-rc4 tools using rsb:
>
> $ export PATH=/c/opt/rtems/r4.11.2/bin:$PATH
> $ cd /c/opt/rtems
> $ mkdir kernel
> $ cd kernel
> $ git clone git://git.rtems.org/rtems.git rtems
Ah ok, yes you have followed the documentation.
You are building the development version of RTEMS and not the 4.11
branch. The documentation was written before I made the 4.11 releases
and it needs updating. I am sorry for this.
For git you need to:
$ git checkout 4.11
Also see below for a tar file of the source to build rather than using git.
> $ cd rtems
> $ ./bootstrap -c && ./bootstrap -p && \
> /c/opt/rtems/r4.11.2/source-builder/sb-bootstrap
> $ cd ..
> $ mkdir erc32
> $ cd erc32
> $ /c/opt/rtems/kernel/rtems/configure --prefix=/c/opt/rtems/r4.11.2 \
> --target=sparc-rtems4.11 --enable-rtemsbsp=erc32 --enable-posix
> $ make -j 1
>
>> Which RTEMS did you download?
>
> Again, I'm not sure what you're asking. I just followed the
> instructions in the Quick Start section of the RTEMS User Manual. Is
> this what you're asking for?
>
> $ git clone git://git.rtems.org/rtems.git rtems
>
This is what I am asking. Your RSB command should have built RTEMS for
you. The RSB builds the kernel when released. I have not updated the
documentation discuss this.
The source for the kernel you can use is:
https://ftp.rtems.org/pub/rtems/releases/4.11/rc/4.11.2-rc4/rtems-4.11.2-rc4.tar.xz
Please download and untar the file to a directory and then run the
configure command:
$ cd /c/opt/rtems
$ tar Jxf rtems-4.11.2-rc4.tar.xz
$ mkdir erc32
$ cd erc32
$ /c/opt/rtems/rtems-4.11.2-rc4/rtems/configure \
--prefix=/c/opt/rtems/r4.11.2 \
--target=sparc-rtems4.11 \
--enable-rtemsbsp=erc32 \
--enable-posix
Please note there is no need to bootstrap the source. The release are
bundled with the needed files.
>> What is the `configure` command line?
>
> Is this what you're looking for?
>
> $ /c/opt/rtems/kernel/rtems/configure --prefix=/c/opt/rtems/r4.11.2 \
> --target=sparc-rtems4.11 --enable-rtemsbsp=erc32 --enable-posix
Yes. This is correct, you just need to use the correct source.
Again thank you for the reports and helping us see the issue. I have
created ticket #2998 to record this issue.
Chris
More information about the users
mailing list