Test Executable Lib-Path Question

John M. Mills jmills at tga.com
Wed Dec 29 14:51:12 UTC 1999

Minor cosmetic question, _per_ my earlier note,
On Thu, 23 Dec 1999, John M. Mills wrote:
> When I build the 'hello_world_c' example with my new RTEMS installation, I
> notice that the lib path has a '//' in it; [...]
> /usr/local/rtems/gcc-2.95.1-binutils-2.9.1-newlib-1.8.1/sh-rtems/bin/sh-rtems-gcc
> --pipe
> -B/usr/local/rtems/gcc-2.95.1-binutils-2.9.1-newlib-1.8.1/sh-rtems//gensh2/lib/
                                               Like this >>>>>******^^******
> -specs bsp_specs -qrtems -g -Wall -ansi -fasm -O4 -m2 -c -o
> o-optimize/test.o test.c

I found the source of my duplicate '/' in:
$RTEMS_MAKEFILE_PATH/Makefile.inc, l.36:

PROJECT_ROOT = $(prefix)/

Removing the trailing '/' eliminates the redundant '/' in 'make
<rtems-app>' logs. I didn't track this back to its template, nor do I know
if it has other consequences.

  John Mills, Sr. Software Engineer
  TGA Technologies, Inc.
  100 Pinnacle Way, Suite 140
  Norcross, GA 30071-3633
  e-mail: jmills at tga.com
  Phone: 770-441-2100 ext.124 (voice)
         770-449-7740 (FAX)

More information about the users mailing list