examples not working with CVS head (todays sources) on pc386 BSP.
Karel Gardas
kgardas at objectsecurity.com
Thu Jul 14 10:26:37 UTC 2005
Hello,
I try to compile hello_world_c application as described on:
http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.6.2/share/rtems/html/started/started00064.html
I've followed the doc and succesfully compiled i386-rtems toolchain and
also pc386 rtems BSP of todays' CVS head source tree (RTEMS 4.7). I've set
appropriate env. var:
silence:/tmp/rtems/examples-4.6.2/hello_world_c$ echo $RTEMS_MAKEFILE_PATH
/home/karel/usr/local/pc386-i386-rtems-bsp/i386-rtems/pc386/
silence:/tmp/rtems/examples-4.6.2/hello_world_c$
but unfortunately simple `make' as describe in doc above does not work:
silence:/tmp/rtems/examples-4.6.2/hello_world_c$ make
i386-rtems-gcc --pipe
-B/home/karel/usr/local/pc386-i386-rtems-bsp/i386-rtems/pc386/lib/ -specs
bsp_specs -qrtems -g -Wall -O4 -g -c -o o-optimize/test.o
test.c
test.c:31:22: error: confdefs.h: No such file or directory
make: *** [o-optimize/test.o] Error 1
silence:/tmp/rtems/examples-4.6.2/hello_world_c$
The toolchain is new gcc4.0.0/binutils2.16.1/newlib1.13 and all required
rtems patches applied.
Are there any new instruction needed for examples to be built with RTEMS
4.7?
Thanks,
Karel
--
Karel Gardas kgardas at objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
More information about the users
mailing list