This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "make Makefile" do nothing


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]