GCC build with for OR1K
Hesham ALMatary
heshamelmatary at gmail.com
Thu Apr 16 11:29:46 UTC 2015
Hi Alexander,
The current GCC upstream support for OpenRISC is obsolete, it dates
back to the old or32 port which is now replaced by or1k tools.
OpenRISC folks are working on pushing their latest GCC or1k work
upstream but they currently have some issues with FSF papers.
For RTEMS or1k port to work, we had to generate our own patch between
or32 and the updated (non-upstreamed yet) or1k GCC work. This patch is
against GCC 4.8.3 release. You can try to build GCC from their repo
here [1] but I think it's not syncrohnized with GCC 5.0.0 (yet).
[1] https://github.com/openrisc/or1k-gcc
Thanks,
Hesham
On Thu, Apr 16, 2015 at 12:09 PM, Alexander Krutwig
<alexander.krutwig at embedded-brains.de> wrote:
> Hello,
>
> I wanted to build the gcc5.0.0 for the or1k without patches and it did not
> work. Are there any patches missing? Below, the terminal output is given.
> *** Configuration or1k-unknown-rtems4.11 not supported
> make[1]: *** [configure-gcc] Error 1
> make[1]: Leaving directory `/scratch/git-build/b-gcc-git-or1k-rtems4.11'
> make: *** [all] Error 2
> + make install
> make[1]: Entering directory `/scratch/git-build/b-gcc-git-or1k-rtems4.11'
> /bin/sh /home/EB/alexander_k/archive/gcc-git/mkinstalldirs /opt/rtems-4.11
> /opt/rtems-4.11
> make[2]: Entering directory
> `/scratch/git-build/b-gcc-git-or1k-rtems4.11/fixincludes'
> rm -rf /opt/rtems-4.11/lib/gcc/or1k-rtems4.11/5.0.0/install-tools
> /bin/sh /home/EB/alexander_k/archive/gcc-git/fixincludes/../mkinstalldirs
> /opt/rtems-4.11/lib/gcc/or1k-rtems4.11/5.0.0/install-tools
> mkdir -p -- /opt/rtems-4.11/lib/gcc/or1k-rtems4.11/5.0.0/install-tools
> /bin/sh /home/EB/alexander_k/archive/gcc-git/fixincludes/../mkinstalldirs
> /opt/rtems-4.11/lib64/gcc/or1k-rtems4.11/5.0.0/install-tools/include
> /usr/bin/install -c -m 644
> /home/EB/alexander_k/archive/gcc-git/fixincludes/README-fixinc \
> /opt/rtems-4.11/lib64/gcc/or1k-rtems4.11/5.0.0/install-tools/include/README
> /usr/bin/install -c fixinc.sh
> /opt/rtems-4.11/lib/gcc/or1k-rtems4.11/5.0.0/install-tools/fixinc.sh
> /usr/bin/install -c fixincl
> /opt/rtems-4.11/lib/gcc/or1k-rtems4.11/5.0.0/install-tools/fixincl
> /usr/bin/install -c mkheaders
> /opt/rtems-4.11/lib/gcc/or1k-rtems4.11/5.0.0/install-tools/mkheaders
> make[2]: Leaving directory
> `/scratch/git-build/b-gcc-git-or1k-rtems4.11/fixincludes'
> make[2]: Entering directory
> `/scratch/git-build/b-gcc-git-or1k-rtems4.11/gcc'
> make[2]: *** No rule to make target `install'. Stop.
> make[2]: Leaving directory `/scratch/git-build/b-gcc-git-or1k-rtems4.11/gcc'
> make[1]: *** [install-gcc] Error 2
> make[1]: Leaving directory `/scratch/git-build/b-gcc-git-or1k-rtems4.11'
> make: *** [install] Error 2
>
> Best regards,
>
> --
> --------------------------------------------
> embedded brains GmbH
> Alexander Krutwig
> Dornierstr. 4
> D-82178 Puchheim
> Germany
> email: alexander.krutwig at embedded-brains.de
> Phone: +49-89-18 94 741 - 17
> Fax: +49-89-18 94 741 - 09
> PGP: Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
--
Hesham
More information about the devel
mailing list