Building the first application

Jack Cawkwell J.Cawkwell at
Mon May 10 21:34:53 UTC 2004

Hi Etienne,

Although the answer is probably in the manuals, I did
not find it particularly easy to get a build to work,
and wrote the following script last time I did it,
last year?

If it helps, this is a script for building on an i386
linux box, which might help if you update it for the
current version, you need to comment out parts so
you run the rpm as root and the build as a mortal,and
alter paths to suit.


# remove existing rpms
rpm -q -a | grep rtems |
while read PACK
  rpm -e --nodeps $PACK

# install rpm's as root
cd /home/src/rtems-cd/

# base
rpm -i
rpm -i
rpm -i
rpm -i
rpm -i

# i386 specific
rpm -i
rpm -i
rpm -i
rpm -i

cd /home/src/rtems-cd ; mkdir build_i386 ; cd build_i386

export RTEMS_MAKEFILE_PATH=/usr/local/pc386
# export RTEMS_MAKEFILE_PATH=/opt/rtems/i386-rtems/pc686

../rtems-4.6.0pre1/configure \
  --enable-cxx \
  --enable-tests \
  --build=i386 \
  --enable-rtemsbps=pc686 \
  --prefix=/opt/rtems \
  --program-prefix=i386-rtems- \

make RTEMS_BSP=pc686

Etienne Fortin <etienne.fortin at> writes:
>Hi everyone,
>I have a some difficulties building the samples applications, and I
>suspect a very stupid newbie kind of error. 

More information about the users mailing list