This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bfin gdb simulator


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]