Fixing directory hierarchy in 4.5.0-beta1c to be able to use gmake

Joel Sherrill joel.sherrill at OARcorp.com
Thu Apr 27 19:36:49 UTC 2000


The RTEMS applications makefiles only work AFTER RTEMS is installed.

This is trying to use them before RTEMS is installed.



Serrae at tsainc.com wrote:
> 
> Hello folks,
> 
> Today, I tried to make the hello_world_c.tgz sample and encountered a
> couple of problems.  Here is how I fixed them:
> 
> ------------------------------------------
> RTEMS_MAKEFILE_PATH
> ------------------------------------------
> 
> set RTEMS_MAKEFILE_PATH to
> ${HOME}/projects/rtems/tools/build-i386-elf-rtems/i386-rtemself/c/pc386/make
> 
> ----------------------------------------
> RTEMS_INSTALL_POINT
> ----------------------------------------
> 
> set RTEMS_INSTALL_POINT to
> ${HOME}/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/i386-rtemself
> 
> ------------------------
> Create soft links
> ------------------------
> 
> ln -sf
> ${HOME}/projects/rtems/tools/build-i386-elf-rtems/i386-rtemself/c/pc386/make
> 
> \
> ${HOME}/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/i386-rtemself/make
> 
> ln -sf ${HOME}/projects/rtems/tools/build-i386-elf-rtems/pc386 \
> ${HOME}/projects/rtems/gcc-2.95.2-binutils-2.9.5.0.24-newlib-1.8.2/i386-rtemself/pc386
> 
> ------------------------
> Copy target.cfg
> ------------------------
> 
> cp
> ${HOME}/projects/rtems/tools/build-i386-elf-rtems/i386-rtemself/c/make/target.cfg
> 
> \
> ${HOME}/projects/rtems/tools/build-i386-elf-rtems/i386-rtemself/c/pc386/make/target.cfg
> 
> --------------------------------------------------------------------------------
> Edit ${RTEMS_MAKEFILE_PATH}/custom/default.cfg
> --------------------------------------------------------------------------------
> 
> change `include $(RTEMS_ROOT)/../make/target.cfg' to `include
> $(RTEMS_ROOT)/make/target.cfg'
> 
> Let me know if this helps or if the comments were useful.  Thanks.
> 
> -efren-
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> Efren Serra
> Software Engineer
> Systems Solutions Group
> Transaction Systems Architects, Inc.
> 218 South 108th Avenue
> Omaha, NE 68154
> Phone: 402-697-2267
> FAX: 402-333-9725
> ~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list