This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
"No targets specified and no makefile found" error making newlib.
- From: "Doug Broadwell" <dougb at value dot net>
- To: <newlib at sources dot redhat dot com>
- Date: Fri, 20 Sep 2002 10:25:11 -0700
- Subject: "No targets specified and no makefile found" error making newlib.
- Organization: DBA Associates
- Reply-to: "Doug Broadwell" <dougb at value dot net>
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