help build sparc/erc32 or mips/

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Tue Aug 3 19:22:41 UTC 2004


Pablo Casado wrote:
> Hi,
> 
> I'm trying to build rtems for the sparc/erc32 or mips/ on cygwin, gcc 3.3.1,
> rtems 4.6.1.
> The initial configure works fine but then in the make all, another configure
> script in the erc32 and jmr3904 directory throws its toys. Any help would be
> appreciated.
> 
> The error for erc32 is:
> 
> configure:2794: checking for C compiler default output
> configure:2797: sparc-rtems-gcc    conftest.c  >&5
> /opt/rtems-4.6/lib/gcc-lib/sparc-rtems/3.2.3/../../../../sparc-rtems/bin/ld:
> cannot open crt0.o: No such file or directory
> 
> The error for jmr3904 is
> 
> configure:2794: checking for C compiler default output
> configure:2797: mips-rtems-gcc    conftest.c  >&5
> /opt/rtems-4.6/lib/gcc-lib/mips-rtems/3.2.3/../../../../mips-rtems/lib/libc.
> a: file not recognized: File truncated
> collect2: ld returned 1 exit status

Try the procedure here and let's see what's up...

http://www.rtems.com/onlinedocs/releases/rtemsdocs-4.6.1/share/rtems/html/started/started00056.html

DO the "-c" test there and then try to do a full compile/link with
this:

int main() { return 0; }

configure is trying something like the above when it fails.  You can
add a -v to see the details.

Do you have the Cygwin filesystem mounts in binary mode?

--joel

> My toolset version are:
> base-binutils 2.13.2.1-2
> base-gcc 3.2.3 newlib 1.11.0-4
> base-gdb 5.2.1
> 
> mips-binutils 2.13.2.1-2
> mips-gcc 3.2.3 newlib 1.11.0-4
> mips-gdb 5.2.1
> 
> spar-binutils 2.13.2.1-2
> sparc-gcc 3.2.3 newlib 1.11.0-4
> sparc-gdb 5.2.1
> 
> thanks
> Pablo.
> 
> 


-- 
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