This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: "make Makefile" do nothing
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- To: Geiger Ho <s997659 at ee dot cuhk dot edu dot hk>
- Cc: newlib at sources dot redhat dot com
- Date: Fri, 18 Jan 2002 18:32:50 -0500
- Subject: Re: "make Makefile" do nothing
- Organization: Red Hat Inc.
- References: <Pine.GSO.4.05.10201181636010.26127-100000@sparc41>
Geiger Ho wrote:
>
> Hi,
>
> I read an article about newlib in http://www.embedded.com and I am very
> exciting that I can build an "micro" libc to have fun with it. My target
> is a desktop PC, x86, RH Linux 7.1.
>
> So I downloaded newlib-1.9.0, this is what I did:
>
> $ cd newlib-1.9.0
> $ mkdir ../newlib-test
> $ cd ../newlib-test
> $ ../newlib-1.9.0/configure
> $ make
>
> configure can regonize I my PC and create directories such as
> i686-pc-linux-gnu/ and etc/. But when I type 'make', it responses with
> "Nothing to be done for 'all'." What's wrong? Do I miss something?
>
> Please reply to my email.
>
> Thanks in advance.
>
> Regards,
> Geiger Ho
Geiger,
By default, newlib does not build for a native target (i.e. you have specified
no target=xxxx on your configure so it is building for the host system). To
build
a Linux native newlib, you must specify --with-newlib as an option to configure.
-- Jeff J.