Error Configuring RTEMS SH4

Joel Sherrill joel.sherrill at
Fri Oct 25 13:10:37 UTC 2002

Kiran C wrote:
> Hi,
> I am trying to configure rtems for sh4 with the following coomand on cygwin
> ./configure --target=sh_rtems
> the script fails at c/make directory with the following  error
> ==================
> checking for sh-rtems-strip... sh-rtems-strip
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking if cpu sh is supported... yes
> checking for style of include used by make... GNU
> checking for sh-rtems-gcc... sh-rtems-gcc
> checking for sh-rtems-gcc... (cached) sh-rtems-gcc
> checking for C compiler default output... configure: error: C compiler
> cannot create executables
> configure: error: /bin/sh '../../../../rtems-ss-20020807/c/make/configure'
> failed for c/make
> sed: can't read confdefs.h: No such file or directory
> ==================
> I have earlier compiled the 4.5 release fine for unix and psim BSP on my
> Cygwin installtion
> I got the same result using the latest of the snapshots.......
> What could be wrong?

I recall some tool problem that was related to a change in gcc and
the rtems fake crt0.o that is used to link during configure was missing
a symbol.  So you are probably not using the latest newlib patch/RPMs.

> Thanks in Advance..
> Kiran

Joel Sherrill, Ph.D.             Director of Research & Development
joel at                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

More information about the users mailing list