Problem building Ada examples

Frédéric PRACA frederic.praca at
Mon Nov 7 19:55:47 UTC 2005

I'm interested in using Rtems with Ada but I have a problem with the provided
I have two questions :
- what is the linkcmds file ? Do I have to tweak it ?
- Using the linkcmds I found in RTEMS_MAKEFILE_PATH/lib/, I get the following
error :

fred at coruscant:~/Dev/RealTime/ada-examples-4.6.5/hello_world_ada>gmake -f
/home/fred/Dev/Audiome/crossCompiler/binaries/bin/i386-rtems-gnatmake -v -O
-gnata -gnatE -gnato hello -g -o hello.obj \
    -bargs -Mgnat_main \
    -cargs -B/home/fred/Dev/RealTime/rtemsInstall/i386-rtems/pc386/lib/ -specs
/home/fred/Dev/RealTime/rtemsInstall/i386-rtems/pc686/lib/bsp_specs -qrtems
-Wl,-Ttext,0x00100000  \
    -largs -B/home/fred/Dev/RealTime/rtemsInstall/i386-rtems/pc386/lib/ -specs
/home/fred/Dev/RealTime/rtemsInstall/i386-rtems/pc686/lib/bsp_specs -qrtems
-Wl,-Ttext,0x00100000  init.o

Copyright 1995-2004 Free Software Foundation, Inc.
  -> "hello.obj" final executable
  "hello.ali" being checked ...
End of compilation
  "hello.obj" missing.
i386-rtems-gnatbind -aO./ -Mgnat_main -I- -x hello.ali
i386-rtems-gnatlink hello.ali -g -o hello.obj
-B/home/fred/Dev/RealTime/rtemsInstall/i386-rtems/pc386/lib/ -specs
/home/fred/Dev/RealTime/rtemsInstall/i386-rtems/pc686/lib/bsp_specs -qrtems
-Wl,-Ttext,0x00100000 init.o
start.o: pas de fichier tel: No such file or directory
collect2: ld returned 1 exit status
i386-rtems-gnatlink: cannot call
i386-rtems-gnatmake: *** link failed.
gmake: *** [hello.exe] Erreur 4

Why does ld look for start.o ????

Thanks for help.


More information about the users mailing list