"No targets specified and no makefile found" error making newlib.

Doug Broadwell dougb@value.net
Fri Sep 20 10:28:00 GMT 2002


Hello all,

Using Bill Gatliff's "Tutorial Introduction Using the ARM Evaluator-7T" as a
template, I am trying to make an m68k-unknown-coff cross compiler on
i686-pc-linux-gnu.  After making bunutils and the bootstrap version of gcc,
I get the following error making newlib:


make[4]: Leaving directory
`/opt/xgcc/build-newlib/m68k-coff/m68000/libgloss/libnosys'
make[4]: Entering directory
`/opt/xgcc/build-newlib/m68k-coff/m68000/libgloss/m68k'
make[4]: *** No targets specified and no makefile found. Stop.
make[4]: Leaving directory
`/opt/xgcc/build-newlib/m68k-coff/m68000/libgloss/m68k'
make[3]: *** [stmp-bsp] Error 2
make[3]: Leaving directory
`/opt/xgcc/build-newlib/m68k-coff/m68000/libgloss'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory `/opt/xgcc/build-newlib/m68k-coff/libgloss'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/xgcc/build-newlib/m68k-coff/libgloss'
make: *** [all-target-libgloss] Error 2

I'm using the following script:

export TARGET=m68k-coff
export PREFIX=`pwd`/install
export PATH=${PREFIX}/bin:${PATH}
tar -zxvf newlib-*.tar.gz
if [ ! -d build-newlib ] ; then mkdir build-newlib ; fi
cd build-newlib
../newlib-1.10.0/configure --target=${TARGET} --prefix=${PREFIX}
make all install info install-info 2>&1 | tee make.log

Thanks, Doug Broadwell



More information about the Newlib mailing list