This is the mail archive of the newlib@sourceware.org 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: How to make native build?


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.


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