OR1K tools

Joel Sherrill joel.sherrill at OARcorp.com
Mon Aug 14 13:08:06 UTC 2000


Rosimildo da Silva wrote:
> 

>    + It seems to be already configured.

I am going to generate a patch using the RTEMS procedure.  This
may help on this one.
 
>    + ./configure --target=or32 --prefix=/gcc-or32
> 
>    + compiled and installed Ok.
> 
> 3. gcc
> 
>   + 'tar' utility of CygWin seems to fail to "untar" the archive.
> 
>   + I had to unse PkZip to unzip the gcc archive ( problems with
>     gcc/fixincl file ).

This could be a timestamp issue.  I know the RTEMS gcc patch has to
be hand manipulated to get this one right.

>   + GCC configured fine in the same directory as source.
>      ( ./configure --target=or32 --prefix=/gcc-or32  --with-gnu-as
> --with-gnu-ld ).
> 
>   + error during compilation:
> 
>   /source/or1k/gcc/gcc/xgcc -B/source/or1k/gcc/gcc/
> -B/gcc-or32/or32-coff/bin/ -
> I/gcc-or32/or32-coff/include -O2  -DCROSS_COMPILE -DIN_GCC     -g -O2
> -I./includ
> e   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I./config
> -I./../inclu
> de -c -DL${name} \
>       -DUSE_COLLECT2 ./libgcc2.c -o ${name}.o; \
>   if [ $? -eq 0 ] ; then true; else exit 1; fi; \
>   or32-coff-ar rc tmplibgcc2.a ${name}.o; \
>   rm -f ${name}.o; \
> done
> _muldi3
> _divdi3
> ./libgcc2.c: In function `__divdi3':
> ./libgcc2.c:684: Unable to generate reloads for:
> (insn/i:QI 113 111 114 (set (cc0)
>         (leu:SI (reg/v:SI 15 r15)
>             (const_int 65535 [0xffff]))) 41 {set_output2} (nil)
>     (nil))
> make[1]: *** [libgcc2.a] Error 1
> make[1]: Leaving directory `/source/or1k/gcc/gcc'
> make: *** [all-gcc] Error 2
> bash-2.04$

Don't know here.  I am starting to build proper patches and Linux
RPMs.

--joel



More information about the users mailing list