Best way to update RTEMS?

Wu, Mark H. Mark.H.Wu at disney.com
Mon Jun 8 19:25:23 UTC 2015


I started with a fresh directory, ran configure and make, and it built fine. Is configure supposed to update the directory when a new pull is done, or is it make that's supposed to update things? 

-----Original Message-----
From: Chris Johns [mailto:chrisj at rtems.org] 
Sent: Friday, June 05, 2015 18:48
To: Wu, Mark H.; users at rtems.org
Subject: Re: Best way to update RTEMS?

On 6/06/2015 11:11 am, Wu, Mark H. wrote:
> I downloaded RTEMS from the git repo a few weeks ago, and have things at a stable point (still working on getting a few things to work, like networking). I decided to update from the git repo, and can't seem to get it rebuilt correctly. What are the correct steps to update my libraries after pulling down from the repo?
> 

How did you update RTEMS ? I normally do a 'git pull'.

> What I have done so far:
> 
> 1. Run ./bootstrap within the RTEMS directory
> 2. Re-run configure from within my installation directory
> 3. Re-run make from within my installation directory
> 

Just to clear up any misunderstanding, we use the term 'source'
directory for the location of the RTEMS source code we are building. We
term the 'installation' directory the locate the files the 'make
install' process installs RTEMS to, ie the configure's -prefix path.

> This is where it fails - I have a compilation error. The files within my installation directory don't quite match the ones in the RTEMS directory. 
> I believe that these are the same steps I performed upon initial installation (the same steps in the quick start). Do they not work for updating? Is there another (better) procedure for updating RTEMS?

What is your configure command line ?

What is the error ?

The error all depends on the point you took your initial build from.
There was a change in newlib that effected the RTEMS kernel source and
that requires an RSB update and a rebuild of your tools.

Please note, this type of change does not happen on releases and once
4.11 is released you will experience a stable environment.

Chris



More information about the users mailing list