Makefile quits generating nothing

Jeff Johnston jjohnstn@redhat.com
Mon Aug 9 03:30:00 GMT 2010


It's Jeff actually :)

There are a few problems here.

1. newlib does not build natively by default.   By default, sourceware
     expects glibc on a native system so you need to specify --with-newlib
     on the configuration.

2. the only linux target currently supported is x86 (e.g. i686-pc-linux-gnu)
     and there isn't x86_64 support.   If you like, you can look at 
porting the
     libc/sys/linux/machine/x86 directory to 
libc/sys/linux/machine/x86_64 or
     you could just try specifying --target=i686-pc-linux-gnu and run in
     x86 32-bit mode

Regards.

-- Jeff J.

On 03/08/10 02:44 PM, sravs wrote:
> Hello John,
>
> I am facing some difficulties to successfully run Makefile.I have gcc
> version 11.1 and binutils-2.17.50.0.6-9.e15 installed on my machine already.
>
> below are the commands that i follow to generate Makefile
>
> cd newlib-1.18.0
> mkdir ../newlib_compile
> cd ../newlib_compile
> ../newlib-1.18.0/configure --srcdir=../newlib-1.18.0/
> --build=x86_64-redhat-linux.
> make
>
> I can successfully generate Make file using the configure command  but
> makefile doesnot generate any object files and quits building nothing, it
> displays following message.
>
> make[1]: Entering directory `/home/stangeda/newlib_07152010/newlib_compile'
> Configuring in ./etc
> configure: loading cache ./config.cache
> checking for a BSD-compatible install... /usr/bin/install -c
> configure: creating ./config.status
> config.status: creating Makefile
> make[2]: Entering directory
> `/home/stangeda/newlib_07152010/newlib_compile/etc'
> for f in standards.info configure.info; do \
>            if test -f ../../newlib-1.18.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/stangeda/newlib_07152010/newlib_compile/etc'
> make[3]: `standards.info' is up to date.
> make[3]: Leaving directory
> `/home/stangeda/newlib_07152010/newlib_compile/etc'
> make[3]: Entering directory
> `/home/stangeda/newlib_07152010/newlib_compile/etc'
> make[3]: `configure.info' is up to date.
> make[3]: Leaving directory
> `/home/stangeda/newlib_07152010/newlib_compile/etc'
> make[2]: Leaving directory
> `/home/stangeda/newlib_07152010/newlib_compile/etc'
> make[1]: Nothing to be done for `all-target'.
> make[1]: Leaving directory `/home/stangeda/newlib_07152010/newlib_compile'
>
> This is my first time playing with one such library, any suggestions are
> highly appreciated to get me through this issue.
>
> Thanks,
> Sravs
>    



More information about the Newlib mailing list