Error Configuring RTEMS SH4

Kiran C kiranc at tataelxsi.co.in
Sat Oct 26 06:51:38 UTC 2002


Hi,
I tries configuring with the pre-built tools at the ftp site.
Now it runs fine..
What Joel was saying is right..there seems to be a problem finding
the crt0.o file.
But I was using the latest of teh newlib is patch and gcc 3.2

-----Original Message-----
From: Joel Sherrill [mailto:joel.sherrill at OARcorp.com]
Sent: Friday, October 25, 2002 6:41 PM
To: Kiran C
Cc: rtems-users at OARcorp.com
Subject: Re: Error Configuring RTEMS SH4




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 OARcorp.com                 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