This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Sorry for my naiveté`, but how does one apply the patches?  Is there an
on-line tutorial?

Thanks, Doug Broadwell

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]