ANN: microblaze-rtems4.11 toolchain

Michal Simek monstr at monstr.eu
Fri Aug 24 10:47:45 UTC 2012


Hi,

On 04/19/2012 06:58 PM, Joel Sherrill wrote:
> It would be start microblaze support.
>
> I am ok with having the toolchain available as long as their is active community work on adding a port.

I have done some work on it in past but haven't finished it yet.

I have tried to compiled microblaze toolchain on ubuntu 10.04 lts 64bit and 32bit and then on centos 5.5 32bit
and I can't compile it.

Here is my steps I have done.

cd /opt/rtems-4.11/
git clone git://git.rtems.org/rtems-crossrpms.git
git clone git://git.rtems.org/rtems-tools.git
cd rtems-tools/specbuilder/
export PATH=`pwd`:$PATH:
sb-setup --rtems=/opt/rtems-4.11/ .
sb-crossgcc --prefix=/opt/rtems-4.11/ --log microblaze microblaze-rtems4.11


building: rtems-4.11-microblaze-rtems4.11-gcc-4.7.1
error: shell cmd failed: /bin/sh -ex  /opt/rtems-4.11/rtems-tools/specbuilder/BUILD/rtems-4.11-microblaze-rtems4.11-gcc-4.7.1-7/doit

I have found this in build log.

checking readline/history.h presence... yes
checking for readline/history.h... yes
checking readline detected... yes
checking for bison... bison -y
checking for flex... flex
if [ x"" != x ]; then \
           /usr/bin/gcc -O2 -fasynchronous-unwind-tables -c -DHAVE_CONFIG_H -g -O2  -I. -I../../gcc-4.7.1/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-co
mpat -Wstrict-prototypes -pedantic   ../../gcc-4.7.1/libiberty/partition.c -o pic/partition.o; \
         else true; fi
/usr/bin/gcc -O2 -fasynchronous-unwind-tables -c -DHAVE_CONFIG_H -g -O2  -I. -I../../gcc-4.7.1/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstr
ict-prototypes -pedantic  ../../gcc-4.7.1/libiberty/partition.c -o partition.o
configure: error: cannot find output from flex; giving up


On my system is flex installed in version
[specbuilder]$ flex --version
flex 2.5.35

I have also upgrade flex to 2.5.37 version but the result is the same.

Full log is here:
www.monstr.eu/microblaze_rtems_log.tar.gz

[specbuilder]$ autoconf --version
autoconf (GNU Autoconf) 2.69
...
[specbuilder]$ automake --version
automake (GNU automake) 1.11.1

I have also try to upgrade automake to 1.12.2 version but it didn't fix my problem either.

Can someone points me what I am doing wrong?

Thanks for your help,
Michal




More information about the users mailing list