This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: "make Makefile" do nothing
- From: Thomas Fitzsimmons <fitzsim at redhat dot com>
- To: Geiger Ho <s997659 at ee dot cuhk dot edu dot hk>
- Cc: newlib at sources dot redhat dot com
- Date: 18 Jan 2002 18:55:14 -0500
- Subject: Re: "make Makefile" do nothing
- References: <Pine.GSO.4.05.10201181636010.26127-100000@sparc41>
On Fri, 2002-01-18 at 03:48, 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
>
Building newlib natively on Linux will be better-supported in the newlib
1.10.0 release. For now, you can check out from CVS the newlib-1_10_0
tagged sources, with the commands:
cvs -z 9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login
{enter "anoncvs" as the password}
cvs -z 9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co -r
newlib-1_10_0 newlib
Read the instructions in src/newlib/README for how to build. It's
almost the same as you have above, but you must specify --with-newlib on
the configure line. Also, you will be building out of the top-level
(src) directory, rather than the newlib sub-directory (src/newlib).
Have fun,
Tom
--
Thomas Fitzsimmons
Red Hat Canada Limited e-mail: fitzsim@redhat.com
2323 Yonge Street, Suite 300
Toronto, ON M4P2C9