hello world or other test app non-automake makefile

Daron Chabot daron.chabot at gmail.com
Mon Jul 26 16:02:18 UTC 2010


Setting RTEMS_ROOT should not be necessary.

On Mon, Jul 26, 2010 at 11:12 AM, Gedare Bloom <gedare at gwmail.gwu.edu>wrote:

> Are you talking about building standalone apps? If so, you might try
> looking at the examples-v2 CVS repository, which has some sample
> applications that build outside of RTEMS. You still have to point the
> Makefile to the installed/built rtems, by setting the
> RTEMS_MAKEFILE_PATH and RTEMS_ROOT environment variables.
>
> If you build and install RTEMS to /opt/rtems-4.10/sparc-rtems4.10 then
> I think you want:
> RTEMS_MAKEFILE_PATH=/opt/rtems-4.10/sparc-rtems4.10/leon3
> RTEMS_ROOT=/opt/rtems-4.10
>
> If you are talking about building the sptests/psxtests etc, then check
> how you configure RTEMS, if you have --enable-tests=samples, then
> configure won't setup the build for the other test executables.
> Instead you just want --enable-tests, which I believe is the default
> option.
>
> -Gedare
>
> On Mon, Jul 26, 2010 at 10:57 AM, Lisa A. Day <day at lanl.gov> wrote:
> > I'm learning RTEMS (4.10) and have successfully been able to build, load,
> > and run the testsuites/samples programs on my leon3 dev board without
> > problem. However, outside this samples directory, I have not been able to
> > build any of the apps. I don't know if its a Makefile issue or not...  My
> > thought is if I could get my hands on one of the testsuites/samples
> > makefiles that is not dependent on the installation dir, I can make sense
> of
> > where I'm going astray -- CONFIG, environment, or path issues, etc.
> >
> > Does anyone have such an example?
> >
> > --
> > ===============================
> > Lisa A. Day
> > ISR-3: Space Data Systems
> > MS D440
> > Los Alamos, NM 87545
> > (505) 665-4780
> >
> > _______________________________________________
> > rtems-users mailing list
> > rtems-users at rtems.org
> > http://www.rtems.org/mailman/listinfo/rtems-users
> >
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20100726/f7238096/attachment-0001.html>


More information about the users mailing list