This is the mail archive of the newlib@sourceware.org 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: running autoconf/make instructions for newlib


On Tuesday 02 June 2009 11:03:17 pm Joel Sherrill wrote:
> Hi,
>
> I found that I asked this about 6 years ago
> about how to do this and got this info
> for running it on a libc/machine/XXX directory
>
> aclocal -I ../../..     # the -I ../../.. points to the top-level newlib
> dir autoconf
> automake --cygnus Makefile
>
> I tried dropping the ../../.. to ../..
> and did the same thing in libc/machine
> but the builds ends with:
>
> checking whether to enable maintainer-specific portions of Makefiles... no
> ../../../../../gcc-4.3.3/newlib/libc/machine/configure: line 3949:
> _LT_DECL_SED: command not found
> configure: updating cache ../.././config.cache
> configure: error: conditional "am__fastdepCXX" was never defined.
> Usually this means the macro was only invoked conditionally.
> configure: error: ../../../../../gcc-4.3.3/newlib/libc/machine/configure
> failed for machine
> configure: error: ../../../../gcc-4.3.3/newlib/libc/configure failed for
> libc
>
> Did I miss a step that is different in the libc/machine
> directory?
>
> Thanks.

Hi Joel,

You need to include the top level directory (src) as well. For the SPU target 
that would be:
  cd src/newlib/libc/machine/spu
  aclocal -I ../../.. -I ../../../..
  autoconf
  automake-1.9 --cygnus Makefile

Ken


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