Re: rtems-ss-20030128

Francesco Poletti fpoletti at libero.it
Fri Jan 31 20:22:19 UTC 2003


Thaks to all, I don't knew the use of bootstrap scripts and now I found it very helpful.
Now seems to work, only one things automake and autoconf aren't the last  in the rtems site like this bootstrap don't work. I have taken it from gnu site.
Another thing, I have made little change at leaf.cfg and main.cfg like this I'm able to build, by a mine script, an application for a number of processors (node) which I define as a parameters of 
the script.:-))
Francesco

Ralf Corsepius wrote:
> 
> Am Fre, 2003-01-31 um 17.58 schrieb Joel Sherrill:
> > Francesco Poletti wrote:
> > >
> > > Yes but my board have yet the shmsupp directory... :-((
> > > My Makefile.am have shmsupp in the SUBDIRS list
> > > and the configure.ac had the shmupp in the Makefile list...
> > > I had run automake and autoconf.
> > > Need I to run also aclocal?
> The nominal sequence is
> 
> aclocal -I <path-to-rtems-toplevel>/aclocal
> automake
> autoconf
> 
> > Run rtems-XXX/bootstrap in your BSP directory.
> Overkill.
> 
> If integrating/adding a BSP you need to run bootstrap once inside of
> c/src/lib/libbsp/<cpu>.
> 
> Then configure a build-tree with maintainer-mode enabled (configure
> --enable-maintainer-mode)

Ralf's right.  Once you have all the Makefile.am's in place and are 
tinkering with them, use --enable-maintainer-mode and things will get 
regenerated without you worrying about it.
 
> Automake then will take care about dependencies itself and will invoke
> its underlaying components when needed.
> 
> >   Never run the
> > tools by hand.  It is too error prone.
> What?

I used a poor choice of words.  I just meant that running bootstrap
is easy and a single command.  It is not difficult or error prone
to run the real autotool command sequence.  The only error that can
happen is a human not doing the commands right.  Bootstrap eliminates
that risk.

> <#:( )>
> Boys, do yourselves a favor:
> Read the fschking manuals: http://sources.redhat.com/autobook
> and the RTEMS FAQ.
> </#:( )>

Sorry guys.  I used a very poor choice of word.  I really believe in
automake and autoconf and am glad that RTEMS is using it.  


> Ralf

--joel





More information about the users mailing list