A problem about sparc-rtems-gcc

Correo Fernando-ruiz (E-mail) correo at fernando-ruiz.com
Mon May 28 19:37:14 UTC 2001


Perhaps a problem of DOS/UNIX file format.?

vi f.c
:set ff=unix
:wq

and compile again.

I can read your f.c in notepad.exe without problem. A bad symptom.

The error messages are usually in the same line. Not in the next line.

 for reading.open
 : No such file or directory



> -----Mensaje original-----
> De: Justin Cui [mailto:justin_cui at 21cn.com]
> Enviado el: miércoles, 29 de mayo de 2002 0:00
> Para: rtems-users at oarcorp.com
> Asunto: A problem about sparc-rtems-gcc
>
>
> hi,
> 	I downloaded the lastest cygwin and installed.Then I
> downloaded the source of rtems4.5.0.
> I unzipped the source as the instructions in the documents of
> rtems4.5.0. Just untar it to
> a directory and patched it and no rej files were generated. I
> configured the binutil and make
> all info install. then I configured the gcc. when I "make
> all" in the b-gcc, the makeinfo.exe
> didn't work! I changed it with the makeinfo.exe of cygwin and
> managed to complete the make.
> And then I build the gdb with no problems. When I was going
> to build the rtems4.5.0 sources,
> I found that the sparc-rtems-gcc doesn't work! the error
> message are as follows:
>
> $ sparc-rtems-gcc -v -c f.c
> Reading specs from /opt/rtems/lib/gcc-lib/sparc-rtems/2.95.2/specs
> gcc version 2.95.2 19991024 (release)
>  /opt/rtems/lib/gcc-lib/sparc-rtems/2.95.2/cpp.exe -lang-c -v
> -D__GNUC__=2 -D__G
> NUC_MINOR__=95 -Dsparc -D__GCC_NEW_VARARGS__ -Drtems
> -D__rtems__ -D__sparc__ -D_
> _GCC_NEW_VARARGS__ -D__rtems__ -D__rtems__ -D__sparc
> -D__rtems -Asystem(rtems) -
> Acpu(sparc) -Amachine(sparc) f.c
> /cygdrive/d/DOCUME~1/chc.B3/LOCALS~1/Temp/ccyiW
> lGl.i
> GNU CPP version 2.95.2 19991024 (release) (sparc)
> #include "..." search starts here:
> #include <...> search starts here:
>  /opt/rtems/lib/gcc-lib/sparc-rtems/2.95.2/include
>
> /opt/rtems/lib/gcc-lib/sparc-rtems/2.95.2/../../../../sparc-rt
> ems/include
> End of search list.
> The following default directories have been omitted from the
> search path:
>  /opt/rtems/lib/gcc-lib/sparc-rtems/2.95.2/../../../../include/g++-3
>
> /opt/rtems/lib/gcc-lib/sparc-rtems/2.95.2/../../../../sparc-rt
> ems/sys-include
> End of omitted list.
>  /opt/rtems/lib/gcc-lib/sparc-rtems/2.95.2/cc1.exe
> /cygdrive/d/DOCUME~1/chc.B3/L
> OCALS~1/Temp/ccyiWlGl.i -quiet -dumpbase f.c -version -o
> /cygdrive/d/DOCUME~1/ch
> c.B3/LOCALS~1/Temp/ccILYU3E.s
> GNU C version 2.95.2 19991024 (release) (sparc-rtems)
> compiled by GNU C version
> 2.95.3-4 (cygwin special).
>  /opt/rtems/sparc-rtems/bin/as.exe
> Assembler messages:
>  for reading.open
> : No such file or directory
>
>
> -- end of error messages
> Sincerely,
> Justin
>
>
>




More information about the users mailing list