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

J. Johnston jjohnstn@redhat.com
Fri Sep 20 19:45:00 GMT 2002


Doug Broadwell wrote:
> 
> Sorry for my naiveté`, but how does one apply the patches?  Is there an
> on-line tutorial?
> 
> Thanks, Doug Broadwell
> 

The patches referred to are actually the differences/changes between
subsequent CVS versions of the files.  You use the "patch" utility to apply those
changes to your source files, thereby making the same alterations.

There is a man page for "patch" as well as info pages.  Try issuing info diff or info patch.

Source code for patch can be found at: http://www.gnu.org/directory/GNU/patch.html

-- Jeff J.

> ----- Original Message -----
> From: "J. Johnston" <jjohnstn@redhat.com>
> To: "Doug Broadwell" <dougb@value.net>
> Cc: <newlib@sources.redhat.com>
> Sent: Friday, September 20, 2002 11:11 AM
> Subject: Re: "No targets specified and no makefile found" error making
> newlib.
> 
> > Doug Broadwell wrote:
> > >
> > > 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
> >
> > There was a bug in m68k configuration that was patched after 1.10 was
> released.
> > Apply the patches found at:
> >
> >   http://sources.redhat.com/ml/newlib-cvs/2002-q2/msg00015.html
> >
> > to your source directory and reconfigure/etc...
> >
> > -- Jeff J.
> >



More information about the Newlib mailing list