Problem building Ada examples
Frédéric PRACA
frederic.praca at freebsd-fr.org
Mon Nov 7 19:55:47 UTC 2005
Hello,
I'm interested in using Rtems with Ada but I have a problem with the provided
examples.
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
Makefile.pc386
/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
GNATMAKE 4.0.2
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
/home/fred/Dev/Audiome/crossCompiler/binaries/lib/gcc/i386-rtems/4.0.2/../../../../i386-rtems/bin/ld:
start.o: pas de fichier tel: No such file or directory
collect2: ld returned 1 exit status
i386-rtems-gnatlink: cannot call
/home/fred/Dev/Audiome/crossCompiler/binaries/bin/i386-rtems-gcc
i386-rtems-gnatmake: *** link failed.
gmake: *** [hello.exe] Erreur 4
Why does ld look for start.o ????
Thanks for help.
Fred
More information about the users
mailing list