This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
you might want to add --build=i686-pc-linux-gnu or any other host on which you are building the gdb.
Using crosstools, I've build a powerpc cross compiler, glibc, gdbserver, etc. Now I try to build gdb for the target:
# Build target termcap libary (target gdb requires it)
cd $BUILD_TMP_DIR/build-termcap CC=$TARGET-gcc $BUILD_TMP_DIR/$TERMCAP_DIR/configure \ --host=$TARGET --prefix=$PREFIX/$TARGET make make oldincludedir="" install
# Build target gdb (i.e. gdb that runs on target)
cd $BUILD_TMP_DIR/build-gdb CC=$TARGET-gcc $BUILD_TMP_DIR/$GDB_DIR/configure \ --host=$TARGET --prefix=$PREFIX/$TARGET make BUILD_SUBDIR="" make install
export gdb_cv_printf_has_long_long=yes gdb_cv_printf_has_long_long=yes export gdb_cv_printf_has_long_double=yes gdb_cv_printf_has_long_double=yes export gdb_cv_scanf_has_long_double=yes gdb_cv_scanf_has_long_double=yes export gdb_cv_prfpregset_t_broken=no gdb_cv_prfpregset_t_broken=no export bash_cv_have_mbstate_t=yes bash_cv_have_mbstate_t=yes
Cheers! -Khem
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |