newlib building problem (ppc)

Jeff Johnston jjohnstn@redhat.com
Wed Jan 2 22:41:00 GMT 2008


mojtaba wrote:
> Dear all,
> I am building newlib 1.15.0 for a cross compiler for ppc. My target is
> powerpc-405-linux-gnu. I am compiling it on a Linux machine. 
> The gcc version that I am using is 4.2.2.
> I had the same problem with newlib 1.16.
>
> The problem is I get this output when making. It seems everything is OK but
> if you look at the result you see in fact nothing happened.  I guess there
> is a problem with my selected target and newlib  I really appreciate it if
> anybody can help me on this.
>
>
> Best regards,
> Mojtaba
>   
Try reconfiguring and add --with-newlib to your configure, then rebuild.

There are situations where newlib is not built by default.  Host == 
Target or
--with-libs and --with-headers both specified for example.

-- Jeff J.

> mojtaba@ubuntu2:~/ppc/cross-ppc-linux-gnu/build-newlib$ make all
> make[1]: Entering directory
> `/home/mojtaba/ppc/cross-ppc-linux-gnu/build-newlib'
> mkdir -p -- ./etc
> Configuring in ./etc
> configure: creating cache ./config.cache
> checking for a BSD-compatible install... /usr/bin/install -c
> updating cache ./config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> make[2]: Entering directory
> `/home/mojtaba/ppc/cross-ppc-linux-gnu/build-newlib/etc'
> for f in standards.info configure.info; do \
>           if test -f ../../newlib-1.15.0/etc/`echo $f | sed -e
> 's/.info$/.texi/'`; then \
>             if make "MAKEINFO=makeinfo --split-size=5000000
> --split-size=5000000" $f; then \
>               true; \
>             else \
>               exit 1; \
>             fi; \
>           fi; \
>         done
> make[3]: Entering directory
> `/home/mojtaba/ppc/cross-ppc-linux-gnu/build-newlib/etc'
> makeinfo --split-size=5000000 --split-size=5000000 --no-split
> -I../../newlib-1.15.0/etc -o standards.info
> ../../newlib-1.15.0/etc/standards.texi
> ../../newlib-1.15.0/etc/standards.texi:1743: warning: @strong{Note...}
> produces a spurious cross-reference in Info; reword to avoid that.
> ../../newlib-1.15.0/etc/standards.texi:1858: warning: @strong{Note...}
> produces a spurious cross-reference in Info; reword to avoid that.
> make[3]: Leaving directory
> `/home/mojtaba/ppc/cross-ppc-linux-gnu/build-newlib/etc'
> make[3]: Entering directory
> `/home/mojtaba/ppc/cross-ppc-linux-gnu/build-newlib/etc'
> rm -f configdev.txt configbuild.txt
> cp ../../newlib-1.15.0/etc/configdev.tin configdev.txt
> cp ../../newlib-1.15.0/etc/configbuild.tin configbuild.txt
> makeinfo --split-size=5000000 --split-size=5000000 -I../../newlib-1.15.0/etc
> -o configure.info ../../newlib-1.15.0/etc/configure.texi
> rm -f configdev.txt configbuild.txt
> make[3]: Leaving directory
> `/home/mojtaba/ppc/cross-ppc-linux-gnu/build-newlib/etc'
> make[2]: Leaving directory
> `/home/mojtaba/ppc/cross-ppc-linux-gnu/build-newlib/etc'
> make[1]: Nothing to be done for `all-target'.
> make[1]: Leaving directory
> `/home/mojtaba/ppc/cross-ppc-linux-gnu/build-newlib'
>
>
>   



More information about the Newlib mailing list