Re: bfin gdb simulator

Waldemar Brodkorb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hi Mike,
Mike Frysinger wrote,

> On 19 Dec 2015 18:16, Waldemar Brodkorb wrote:
> > when trying to use latest gdb or 7.10.1 to 
> > build bfin simulator, I get:
> 
> please post the exact configure/make commands you're using

Sure. Please get the complete log here:
http://www.waldemar-brodkorb.de/make.log.gz

Just configure:
: "toolchain/gdb/configure.. "
PATH='/home/wbx/bfin/scripts:/home/wbx/bfin/toolchain_sim-bfin_uclibc-ng_bfin_nommu/usr/bin:/home/wbx/bfin/host_x86_64-linux-gnu/usr/bin:/home/wbx/bfin/host_x86_64-linux-gnu/bin:/opt/qemu/bin:/opt/qemu-meta/bin:/opt/qemu/bin:/opt/qemu-meta/bin:/opt/qemu/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games'
sed -i -e 's/install_to_ //' /home/wbx/bfin/toolchain_build_sim-bfin_uclibc-ng_bfin_nommu/w-gdb-7.10.1-1/gdb-7.10.1/libiberty/Makefile.in
(cd /home/wbx/bfin/toolchain_build_sim-bfin_uclibc-ng_bfin_nommu/w-gdb-7.10.1-1/gdb-7.10.1;
\
                gdb_cv_func_sigsetjmp=yes \
                ./configure \
                --prefix=/home/wbx/bfin/host_x86_64-linux-gnu \
                --build=x86_64-linux-gnu \
                --host=x86_64-linux-gnu \
                --target=bfin-openadk-uclinux-uclibc \
                --disable-dependency-tracking \
                --without-uiout \
                --enable-gdbmi \
                --disable-gdbtk \
                --without-included-gettext \
                --disable-libtool-lock \
                --disable-nls \
                --with-curses \
                --enable-threads \
                --disable-tui \
                --disable-werror \
                --disable-install-libiberty \
                --without-python \
                --without-x \
                --enable-sim --enable-sim-stdio \
        );

And make:
: "toolchain/gdb/compile.. "
/usr/bin/make -j4 -C /home/wbx/bfin/toolchain_build_sim-bfin_uclibc-ng_bfin_nommu/w-gdb-7.10.1-1/gdb-7.10.1
CFLAGS="-fPIC "

best regards
 Waldemar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.