Problem to save file on the hard disk! What I have to set to do it ?

Joel Sherrill joel.sherrill at oarcorp.com
Fri Mar 17 14:03:20 UTC 2006


Matteo wrote:

>Infact I installed this version of rtems because with that suggested from the
>"download helper" I had some problem.
>So, I decid to reinstall all rtems with the version suggest from the download
>helper(so I'm sure that all the samples works!);
>gcc-3.2.3
>newlib-1.11.0
>binutils-2.13.2.1
>rtems-4.6.5
>So I applied the patch for gcc and newlib, a export the 
> export PATH="$PATH:/usr/local/rtems/rtems4.7/bin" 
>
>I configure binutils in this way;
>
>../binutils-2.16.1/configure --target=i386-rtems4.7 
>--prefix=/usr/local/rtems/rtems4.7
>
>  
>
You downloaded a 4.6 release and toolset and are configuring it for
rtems 4.7.  RTEMS tools have evolved so you can have toolsets for
multiple verions of RTEMS installed concurrently.  They follow
this history:

Version         Prefix           Naming
======  ==========  =================
  4.5         /opt/rtems        CPU-rtems-TOOL
  4.6        /opt/rtems-4.6   CPU-rtems-TOOL
  4.7        /opt/rtems-4.7   CPU-rtems4.7-TOOL

For each RTEMS release series, there is a matched C library version
an recommended GCC version.  Sometimes depending on the compiler,
you can change the GCC version a little but the C library version is
mated and should be used.

You are mismatching things.

>and I launch "make -w all install", but I have this error ;
>..
>..
>Wmissing-prototypes -g -O2 -c ../../binutils-2.13.2.1/gas/app.c
>In file included from ./targ-cpu.h:1,
>                 from ../../binutils-2.13.2.1/gas/config/obj-elf.h:42,
>                 from ./obj-format.h:1,
>                 from ../../binutils-2.13.2.1/gas/config/te-generic.h:19,
>                 from ./targ-env.h:1,
>                 from ../../binutils-2.13.2.1/gas/as.h:614,
>                 from ../../binutils-2.13.2.1/gas/app.c:30:
>../../binutils-2.13.2.1/gas/config/tc-i386.h:530: error: array type has
>incomplete element type
>make[3]: *** [app.o] Error 1
>make[3]: Leaving directory `/usr/local/rtems/source/tools/b-binutils/gas'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/usr/local/rtems/source/tools/b-binutils/gas'
>make[1]: *** [all-recursive-am] Error 2
>make[1]: Leaving directory `/usr/local/rtems/source/tools/b-binutils/gas'
>make: *** [all-gas] Error 2
>make: Leaving directory `/usr/local/rtems/source/tools/b-binutils'
>root at matteo:/usr/local/rtems/source/tools/b-binutils#
>
>
>That was the same error that convinced me to try another version of rtems.
>
>So have you some idea about to resolve this configuration problem ?
>
>Thanks in advance 
>
>MAtteo
>
>  
>




More information about the users mailing list