From: Borut R. <bor...@si...> - 2009-04-13 07:36:31
|
Cygming build (cygwin + -mno-nocygwin) fails with the following error: === configuring in device/lib/pic16 (/cygdrive/c/svn_snapshots/sdcc/sdcc_cygming .build/device/lib/pic16) configure: running /bin/sh ../../../../sdcc/device/lib/pic16/configure.gnu --dis able-option-checking '--prefix=/sdcc' '--datarootdir=/sdcc' 'docdir=/doc' 'incl ude_dir_suffix=include' 'lib_dir_suffix=lib' 'sdccconf_h_dir_separator=\\' 'CC=g cc -mno-cygwin' 'CXX=g++ -mno-cygwin' --cache-file=../../../config.cache --srcdi r=../../../../sdcc/device/lib/pic16 configure: loading cache ../../../config.cache configure: error: `build_alias' was not set in the previous run configure: error: `host_alias' was not set in the previous run configure: error: in `/cygdrive/c/svn_snapshots/sdcc/sdcc_cygming.build/device/l ib/pic16': configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm ../../../config.cache' and sta rt over configure: error: ../../../../sdcc/device/lib/pic16/configure.gnu failed for dev ice/lib/pic16 If I remove --build=`"$SRCDIR/config.guess"` --host=pic16 configure options from device/lib/pic16/configure.gnu, everything is OK. On the other hand, Raphael wrote in device/lib/pic16/configure.ac: # The (generated) configure script should be called with # --build=<your-build-system> --target=pic16 # to force cross-compilation mode; rather use the wrapper # ./configure.gnu instead of ./configure directly. Raphael, do you have an idea how to solve the problem? Are --build=`"$SRCDIR/config.guess"` and --host=pic16 configure options really needed? Borut |