How to build Unix BSP ?

Cedric Aubert cedric_aubert at yahoo.fr
Thu Jul 31 09:46:48 UTC 2003


Ok thanks, I have just try with 4.6.0 PRE4 and that's
work :-)
Configuration and Compilation of posix bsp without a
problem.

So I try the next step (in the documentation) and so I
try to
compile a example program (hello_world) with the posix
bsp.

I export RTEMS_MAKEFILE_PATH and type make in the
hello_world directory.

And a error occur.

In fact, in posix.cfg, they are :

include
$(RTEMS_ROOT)/make/custom/$(RTEMS_HOST)-posix.cfg

and he doesn't found RTEMS_HOST so he try to include
/make/custom/-posix.cfg
and of course it doesn't exist.

I have made (for test only) a link -posix.cfg to
Linux-posix.cfg (I run on a
RedHat 7.2)
And that work fine after, and the hello_world
executable work to.

Do you knwon where my problem should be ?

Thanks

Cedric

> -----Original Message-----
> From: Ralf Corsepius
[mailto:corsepiu at faw.uni-ulm.de]
> Sent: Thursday, July 31, 2003 6:18 AM
> To: cedric_aubert at yahoo.fr
> Cc: RTEMS Users
> Subject: RE: How to build Unix BSP ?
>
>
> On Tue, 2003-07-29 at 15:11, Cedric Aubert wrote:
> > Hi
> >
> > I am just try to compile without --target wrong
> > option.
> > (../rtems-4.6.0pre3/configure --enable-posix
> > --enable-cxx --disable-itron --enable-networking
> > --enable-test --enable-rtemsbsp=posix
> > --prefix=/opt/rtems/bsp-unix)
> >
> > And now configure run and finish correctly but
when
> > I call gmake all, an error was produce after
compiling
> > successully the directory tools/cpu.
> > It try to compile the directory c.
> > Sorry some compiler message is in french :-(
> >
> > Making all in make
> > ...
> > Making all in c
> > /bin/sh:cd: c: Aucun fichier ou répertoire de ce
type
> > make: ***[all recursive] Erreur 1
>
> > Any idea ?
>
> I believe to finally have found the cause: A bug in
RTEMS-4.6.0pre3's
> toplevel configure script (actually acinclude.m4) I
believe to have
> fixed several weeks ago.
>
> => Please try pre4, I am confident the bug already
is fixed.
>
> Ralf
>
>
>
>


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the users mailing list