How to make native build?

Jeff Johnston jjohnstn@redhat.com
Mon Jan 24 23:55:00 GMT 2011


On 01/24/2011 04:44 PM, Miro Kropáček wrote:
> Hello,
>
> I'm new here and I hope I don't ask something totally obvious but I'm
> really stuck. I'm trying to compile newlib. I checkout the sources,
> create 'build' directory nearby, type 'cd build&&  ../src/configure&&
> make' and after some initial messages (makeinfo etc) ... compilation
> ends. No error, just regular end. I can post build output if it helps.
>
> What makes me wonder is next thing, when I specify some target,
> different from host (i.e. NOT i686-pc-linux-gnu), compilation starts
> as one would expect. Am I missing here something? How I make normal,
> classic, native, linux build?
>
> Thanks for any hint...
>
> Miro

By default, newlib does not build natively.  It is expected that you 
would use glibc.  To build for i686-pc-linux-gnu, you need to specify 
--target=i686-pc-linux-gnu --with-newlib on your configuration.  Note 
that linux is currently only supported for x86.

-- Jeff J.



More information about the Newlib mailing list