This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: running autoconf/make instructions for newlib
- From: Ken Werner <ken at linux dot vnet dot ibm dot com>
- To: newlib at sourceware dot org, Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Date: Wed, 3 Jun 2009 08:44:23 +0200
- Subject: Re: running autoconf/make instructions for newlib
- References: <4A259395.1090901@oarcorp.com>
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