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]

ptxdist can't compile ncurses


When ptx gets around compiling ncurses, it gives me this error:

   ./make_keys keys.list > init_keytry.h
   /bin/sh: ./make_keys: cannot execute binary file

Apparently this is what happens when ncurses doesn't use the HOSTCC to
compile make_keys.  Sounds simple enough, but I can't figure out how
to tell ptxdist to tell ncurses to use my HOSTCC.  Any suggestions?

I'm using crosstool-0.38 which apparently defaults to
ptxdist-testing-20031113.  Here's how I run crosstool:

  TARGET="mipsisa32el-dave-linux-gnu" \
  BINUTILS_DIR="binutils-2.15"        \
  GCC_DIR="gcc-3.3.3"                 \
  GLIBC_DIR="glibc-2.3.2"             \
  LINUX_DIR="linux-2.4.18"            \
  GLIBCTHREADS_FILENAME="glibc-linuxthreads-2.3.2" \
  TARBALLS_DIR="/home/dave/kegel.com/tarballs"     \
  RESULT_TOP="/home/dave/targets"           \
  GLIBC_EXTRA_CONFIG="--without-fp"         \
  TARGET_CFLAGS="-O2 -finline-limit=10000"  \
  GCC_EXTRA_CONFIG="--with-float=soft"      \
  HOSTCC="/usr/bin/gcc"                     \
  sh all.sh --builduserland

Here's how ptx configures ncurses:

  PATH="/home/dave/targets/gcc-3.3.3-glibc-2.3.2/mipsisa32el-dave-linux-gnu"/bin:$PATH AR="mipsisa32el-dave-linux-gnu"-ar AS="mipsisa32el-dave-linux-gnu"-as CXX="mipsisa32el-dave-linux-gnu"-g++ CC="mipsisa32el-dave-linux-gnu"-gcc LD="mipsisa32el-dave-linux-gnu"-ld NM="mipsisa32el-dave-linux-gnu"-nm OBJCOPY="mipsisa32el-dave-linux-gnu"-objcopy OBJDUMP="mipsisa32el-dave-linux-gnu"-objdump RANLIB="mipsisa32el-dave-linux-gnu"-ranlib STRIP="mipsisa32el-dave-linux-gnu"-strip CFLAGS='-O2 -finline-limit=10000'  ac_cv_func_getpgrp_void=yes ac_cv_func_setpgrp_void=yes ac_cv_sizeof_long_long=8 ac_cv_func_memcmp_clean=yes ac_cv_func_setvbuf_reversed=no ac_cv_func_getrlimit=yes BUILD_CC=gcc  \
  ./configure --build=i686-host-linux-gnu --host="mipsisa32el-dave-linux-gnu" --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-shared --disable-nls --disable-rpath --without-ada --enable-const --enable-overwrite --with-terminfo-dirs=/usr/share/terminfo --with-default-terminfo-dir=/usr/share/terminfo --without-cxx-binding

Thanks,
Dave


------
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]