Errors in bsp_spec.

Ralf Corsepius corsepiu at
Wed Mar 21 23:43:15 UTC 2001

> Gus Paolone wrote:
> Hi All,
> I've downloaded RTEMS-4.5.0 and associated RPMs for Cigwin
> (Win-2000 platform). I got both POWERPC and M68K tools. I was able
> to configure rtems with the following command line:
> ../rtems-4.5.0-build/configure --target=m68k-rtems --disable-cxx\
> --enable-rtemsbsp=gen68360 --prefix=/opt/rtems
> When I try to build rtems with "make all install" I get an error
> with the format of the spec file. See the output below. I also
> tried the same with power-pc and I get the same error. One thing
> is that I could not find much on the web about spec files for gcc.
> Can anybody give me clue as to where I can get some info?
It's somewhere in

> make[7]: Entering directory
> `/home/gus/work/rtems-4.5.0-build/m68k-rtems/c/gen68
> 360/exec/score/cpu/m68k'
> /opt/rtems/bin/m68k-rtems-gcc --pipe
> -B../../../../../../.././gen68360/lib/ -spe
> cs bsp_specs -qrtems -g -Wall -ansi -fasm    -mcpu32     -c  -O4
> -fomit-frame-po
> inter -o o-optimize/cpu.o
> ../../../../../../../../rtems-4.5.0/c/src/exec/score/c
> pu/m68k/cpu.c
> m68k-rtems-gcc: specs %rename syntax malformed after 19 characters

character 19 in gen68360's bsp_spec is a \n.

With you mentioning DOS / Cygwin, I'd suspect that you might have
accidentially inserted DOS-style \r\n 's eg. by using a DOS editor
and gcc choking on this.


Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:corsepiu at           FAX: +49/731/501-999

More information about the users mailing list