new snapshot (ss-20021118), etc

Stephen Holford SHolford at WESCAM.com
Mon Nov 18 22:48:59 UTC 2002


Hi Ralph

Actually the "command line" in that post is ripped from the config.log 
file thats automagically generated by the build process. My actual 
command line is generated by a shell script along the lines of:

BARE_FLAGS="-mcpu=603e -mstrict-align -Dmpc8260 -DPPC_ABI=PPC_ABI_EABI 
-DPPC_ASM=PPC_ASM_ELF"

${RTEMS_TOP}/configure \
--prefix=${PREFIX} \
--target=${TARGET} \
--disable-networking \
--disable-posix \
--disable-docs \
--disable-itron \
--disable-tests \
--enable-bare-cpu-cflags="${BARE_FLAGS}" \
--enable-bare-cpu-model=${CPU_MODEL} \
--enable-maintainer-mode \
--enable-rtemsbsp=bare 2>&1 | tee config.out

This has worked with every RTEMS snapshot until the 20021111 one.

Here's an early configure line in the make process,

configure: configuring in ../../cpukit
configure: running /bin/sh 
'/home/rtems/tools/rtems-ss-20021118/c/src/../../cpukit/configure' 
--prefix=/opt/rtems --host=powerpc-rtems --build=i686-pc-linux-gnu 
--target=powerpc-rtems --disable-networking --disable-posix 
--disable-docs --disable-itron --disable-tests 
'--enable-bare-cpu-cflags=-mcpu=603e -mstrict-align -Dmpc8260 
-DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF' 
--enable-bare-cpu-model=mpc8260 --enable-maintainer-mode 
--with-target-subdir=powerpc-rtems 
--exec-prefix=/opt/rtems/powerpc-rtems build_alias=i686-pc-linux-gnu 
host_alias=powerpc-rtems target_alias=powerpc-rtems RTEMS_BSP=bare 
build_alias=i686-pc-linux-gnu host_alias=powerpc-rtems 
target_alias=powerpc-rtems '--with-project-root=../../' 
'--enable-rtemsbsp=bare'
    --cache-file=/dev/null 
--srcdir=/home/rtems/tools/rtems-ss-20021118/c/src/../

It looks like a ' and ' end up around the --enable-bare-cpu-cflags.

Here's a build line

powerpc-rtems-gcc --pipe -isystem ../../../../../bare/lib/include 
-DHAVE_CONFIG_H    -D__RTEMS_INSIDE__ -ansi -fasm      -O1 
-fomit-frame-pointer -g -O2 -mcpu=603e -mstrict-align -Dmpc8260 
-DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF  -o o-optimize/apiext.o -c 
/home/rtems/tools/rtems-ss-20021118/c/src/../../cpukit/score/src/apiext.c

Again the cflags look like they all got inserted correctly.

Steve



More information about the users mailing list