building GDB natively using 'configure' at 'two' levels

SAIFI saifi@strikr.io
Wed Sep 8 07:25:09 GMT 2021


Hi:

git cloned GDB and would like to build GDB natively using 'configure' at 'two' levels.

at the top of the source tree ${SRC}/gdb/, i have

${SRC}/gdb/configure                \
       --prefix=/opt/gdb             \
       --datadir=/opt/gdb/data       \
       --htmldir=/opt/gdb/doc        \
       --disable-binutils            \
       --disable-ld                  \
       --disable-gold                \
       --disable-gas                 \
       --disable-sim                 \
       --disable-gprof               \

and at ${SRC}/gdb/gdb/, i have

${SRC}/gdb/gdb/configure            \
       --prefix=/opt/gdb             \
       --datadir=/opt/gdb/data       \
       --htmldir=/opt/gdb/doc        \
       --disable-largefile           \
       --with-gnu-ld                 \
       --with-expat=no               \
       --with-python=no              \
       --with-guile=no               \
       --with-intel-pt=no            \
       --with-babeltrace=no

what is the recommended way to run 'configure' at the top of the source tree, so that it will execute the custom configure in gdb/gdb/ ?


warm regards
Saifi.



More information about the Gdb mailing list